From 33a93fd76a9a6b1df79c9776e8f4f55ec6f0dea0 Mon Sep 17 00:00:00 2001 From: emijrp Date: Tue, 3 Dec 2019 13:33:06 +0100 Subject: [PATCH] delay 1 second --- batchdownload/launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batchdownload/launcher.py b/batchdownload/launcher.py index 02337e9..098e0a9 100644 --- a/batchdownload/launcher.py +++ b/batchdownload/launcher.py @@ -87,7 +87,7 @@ def main(): print 'Resuming download, using directory', wikidir subprocess.call('./dumpgenerator.py --api=%s --xml --images --resume --path=%s' % (wiki, wikidir), shell=True) else: #download from scratch - subprocess.call('./dumpgenerator.py --api=%s --xml --images' % wiki, shell=True) + subprocess.call('./dumpgenerator.py --api=%s --xml --images --delay=1' % wiki, shell=True) started = True #save wikidir now for dirname, dirnames, filenames in os.walk('.'):