Hi folks,
I have a batch file that is:
replace.py -xml:e:\huwiki-latest-pages-articles.xml -summary:x
-namespace:0 -fix:vegyesjav4 -regex -excepttext:\{\{[Ss]zinnyei\}\}
-excepttext:\{\{[Pp]allas\}\} -excepttext:V.lyi Andr.s
-excepttext:F.nyes Elek
Now, exceptions don't work, and I keep
Hello,
A comment on wikipedia.py points to http://pydoc.org/2.3/difflib.html
which no longer exists. The current location is
http://docs.python.org/library/difflib.html.
Patch attached.
Best regards,
--
Santiago M. Mola
Jabber ID: cooldw...@gmail.com
diff --git a/wikipedia.py b/wikipedia.py
Hello,
While writing a bot, I had to discard redirected pages from the XML
dump. In order to be able to do it early, I modified xmlreader.py to
parse the redirect / tag and add it to XmlEntry. I'm attaching the
patch, which is not extensively tested.
I haven't updated the regex_parse method