Filtering for red links can also be done through the API one page at a time using action=parse and prop=links.[1] However, I don't know if Pywikibot supports this usage of the parse action.

[1] Example: https://en.wikipedia.org/w/api.php?action=parse&format=jsonfm&page=Template%3ACoquimbo%20Region%20rivers%20and%20lakes&prop=links


On Mon, Sep 8, 2014 at 3:40 AM, Bináris <wikiposta@gmail.com> wrote:
Although working from HTML seems to be uncommon and strange for an API-based environment, in this special case it is easy and worth a try.

2014-09-08 9:13 GMT+02:00 Bináris <wikiposta@gmail.com>:
Unfortunately, not all comments are in English, sorry for that.
def redCategories 
shows how an HTML source can be downloaded and processed for red category links. "(megíratlan szócikk)" after the title within brackets means "unwritten article", I don't know the English phrase. "piros" in comments means red and "kék" means blue.



--
Bináris

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