diff --git a/dumpgenerator.py b/dumpgenerator.py index 436e4bc..eb3016b 100644 --- a/dumpgenerator.py +++ b/dumpgenerator.py @@ -808,7 +808,7 @@ def checkAPI(api): f = urllib.urlopen(api) raw = f.read() f.close() - print 'Checking api.php...' + print 'Checking api.php...', api if re.search(r'action=query', raw): return True return False @@ -818,7 +818,7 @@ def checkIndexphp(indexphp): f = urllib2.urlopen(req) raw = f.read() f.close() - print 'Checking index.php...' + print 'Checking index.php...', indexphp if re.search(r'(This wiki is powered by|

)', raw): return True return False @@ -1026,4 +1026,4 @@ def main(params=[]): bye() if __name__ == "__main__": - main() + main() \ No newline at end of file