I'm trying to move pages:
lang = 'pt' family = 'wikipedia' site = wikipedia.getSite(lang, family) page = wikipedia.input('page:') pagemove = wikipedia.input('movepage:') titleroot = wikipedia.Page(site, page) movepage = wikipedia.Page(site, pagemove) titleroot.move(pagemove)
page: Usuário:LeonardoG/Teste movepage: Usuário:LeonardoG/Teste2 Getting a page to check if we're logged in on wikipedia:pt Getting page to get a token. Getting page [[Wikipedia:Sandbox]] Traceback (most recent call last): File "C:\pywikipedia-cvs\pywikipedia\movepages.py", line 33, in <module> titleroot.move(pagemove) File "C:\pywikipedia-cvs\pywikipedia\wikipedia.py", line 1329, in move data = urlencode(tuple(predata)) File "C:\pywikipedia-cvs\pywikipedia\wikipedia.py", line 1734, in urlencode v = urllib.quote(v) File "C:\Python25\lib\urllib.py", line 1204, in quote res = map(safe_map.__getitem__, s) KeyError: u'\xe1'
Somebody knows solve this problem? Bug is the same problem of this: http://sourceforge.net/tracker/index.php?func=detail&aid=1491648&gro...
Cheers, leonardo.