pull/401/merge
Severin Schols 9 months ago committed by GitHub
commit 69a3bc9fd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1344,7 +1344,7 @@ def getImageNamesAPI(config={}, session=None):
aifrom = '!'
images = []
while aifrom:
sys.stderr.write('.') # progress
print '.' # progress
params = {
'action': 'query',
'list': 'allimages',
@ -1395,7 +1395,7 @@ def getImageNamesAPI(config={}, session=None):
gapfrom = '!'
images = []
while gapfrom:
sys.stderr.write('.') # progress
print '.' # progress
# Some old APIs doesn't have allimages query
# In this case use allpages (in nm=6) as generator for imageinfo
# Example:

Loading…
Cancel
Save