diff --git a/dumpgenerator.py b/dumpgenerator.py index 7c97e71..f6e56b8 100644 --- a/dumpgenerator.py +++ b/dumpgenerator.py @@ -255,7 +255,7 @@ def getXMLPageCore(headers={}, params={}, config={}): time.sleep(15) f = urllib2.urlopen(req) except: - print 'An error have occurred while retrieving "%s"' % (title) + print 'An error have occurred while retrieving "%s"' % (params['pages']) print 'Please, resume the dump, --resume' sys.exit() xml = f.read() diff --git a/uploadedwikis.txt b/uploadedwikis.txt index d882c7a..cad58f6 100644 --- a/uploadedwikis.txt +++ b/uploadedwikis.txt @@ -59,3 +59,4 @@ http://osl2.uca.es/iberogre/api.php https://en.bitcoin.it/w/api.php http://atwiki.assistivetech.net/api.php http://wiki.lessig.org/api.php +http://www.forensicswiki.org/w/api.php diff --git a/wikiadownloader.py b/wikiadownloader.py index ade7f28..70c5f72 100644 --- a/wikiadownloader.py +++ b/wikiadownloader.py @@ -84,7 +84,6 @@ for wiki in wikia: day = i.group("day") year = i.group("year")""" - #date = datetime.datetime(year=int(year), month=int(month2num(month=month)), day=int(day)) print 'Downloading', wiki