Changes in riddle2.py

- fixed error
pull/7/head
Trivernis 6 years ago
parent 11d8635b4a
commit a209475dea

@ -148,6 +148,7 @@ def get_img4sub(url, length=-1):
break break
imgs.extend(imgurls) imgs.extend(imgurls)
url = get_next_url(baseurl, url) url = get_next_url(baseurl, url)
print()
print('[+] Found %s images' % len(imgs)) print('[+] Found %s images' % len(imgs))
return imgs return imgs
@ -183,7 +184,6 @@ def download_images(imgs, zfile):
time.sleep(0.1) # no don't penetrate time.sleep(0.1) # no don't penetrate
count += 1 count += 1
added = len(zfile.infolist()) - len(fnames) added = len(zfile.infolist()) - len(fnames)
print()
print('[+] Added %s files to the zipfile' % added) print('[+] Added %s files to the zipfile' % added)

Loading…
Cancel
Save