A slight correction:
This lists red titles. :-) not_existing = [wikipedia.Page(wikipedia.getSite(), pname).title() for >> pname in re.findall(r"title=(.*?)&action=edit", fullsourcetext)] >> >> def exists(page): >> return page.title() *not *in not_existing >> > >
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
