I send this back to the list:
2011/3/7 Andre Engels <andreengels(a)gmail.com>
I don't know about that, but I think you can work
the other way
around, using a bit of regular expression magic:
import re
...
existing = [wikipedia.Page(wikipedia.getSite(), pname).title() for
pname in re.findall(r"title=(.*?)&action=edit", fullsourcetext)]
def exists(page):
return page.title() in existing
This works fine! I didn't know that titles could be encoded in Page().
There are already some regexes in my code. Thank you!
--
Bináris