You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to scrape a wiki, I get the following error:
40 namespaces found
Retrieving titles in the namespace 0
Traceback (most recent call last):
File "dumpgenerator.py", line 2572, in
main()
File "dumpgenerator.py", line 2564, in main
createNewDump(config=config, other=other)
File "dumpgenerator.py", line 2133, in createNewDump
getPageTitles(config=config, session=other['session'])
File "dumpgenerator.py", line 391, in getPageTitles
for title in titles:
File "dumpgenerator.py", line 261, in getPageTitlesAPI
site = mwclient.Site(apiurl.netloc, apiurl.path.replace("api.php", ""), scheme=apiurl.scheme, pool=session)
File "C:\Python27\lib\site-packages\mwclient\client.py", line 169, in init
self.pages = listing.PageList(self)
File "C:\Python27\lib\site-packages\mwclient\listing.py", line 242, in init
super(PageList, self).init(site, 'allpages', 'ap',
TypeError: super() argument 1 must be type, not classobj
The text was updated successfully, but these errors were encountered:
When trying to scrape a wiki, I get the following error:
40 namespaces found
Retrieving titles in the namespace 0
Traceback (most recent call last):
File "dumpgenerator.py", line 2572, in
main()
File "dumpgenerator.py", line 2564, in main
createNewDump(config=config, other=other)
File "dumpgenerator.py", line 2133, in createNewDump
getPageTitles(config=config, session=other['session'])
File "dumpgenerator.py", line 391, in getPageTitles
for title in titles:
File "dumpgenerator.py", line 261, in getPageTitlesAPI
site = mwclient.Site(apiurl.netloc, apiurl.path.replace("api.php", ""), scheme=apiurl.scheme, pool=session)
File "C:\Python27\lib\site-packages\mwclient\client.py", line 169, in init
self.pages = listing.PageList(self)
File "C:\Python27\lib\site-packages\mwclient\listing.py", line 242, in init
super(PageList, self).init(site, 'allpages', 'ap',
TypeError: super() argument 1 must be type, not classobj
The text was updated successfully, but these errors were encountered: