We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e296d7 commit 2fdd015Copy full SHA for 2fdd015
comiccrawler/mods/exh.py
@@ -60,8 +60,9 @@ def get_images(html, url):
60
61
image = re.search("<img id=\"img\" src=\"(.+?)\"", html)
62
image = unescape(image.group(1))
63
- # bandwith limit
64
- if re.search(r"509s?\.gif", image) or re.search(r"403s?\.gif", image):
+ # bandwidth limit
+ # https://github.com/mikf/gallery-dl/commit/8b76149521638404100dd20511ba08e67f1c1f8a
65
+ if re.search(r"(hentai\.org/img|ehgt\.org/g)/(509|403)s?\.gif", image):
66
# pause the download since retry doesn't help but increase view limit.
67
raise PauseDownloadError("Bandwidth limit exceeded!")
68
0 commit comments