fixing print;

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@147 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
pull/117/head
emijrp 13 years ago
parent 1b7fa4c994
commit e9f379b888

@ -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()

@ -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

@ -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

Loading…
Cancel
Save