(sorry for poor english grammar )

 I think you want to distunguish the link page is exist or not in wikitext.
You don't need to analyze HTML tags now, just use
if page is not exist, you will get the exception NoPage.

There's use two API requests, and easy to solve it.


2013/4/22 Bináris <wikiposta@gmail.com>
Can we solve everything through API? I have a script that I wrote a few years ago, and I had to analyze HTML code to distunguish "red" and "blue" links on a page because there was no API function for that.

--
Bináris

_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l




--
I always keep my spirit minority.