summaryrefslogtreecommitdiffstats
path: root/gallery_dl/downloader/http.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-03-10 03:44:57 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-03-10 03:44:57 -0400
commit243d1f1beb4e4eb75a524f1aff948c47761a4f1d (patch)
tree54f7ada7698d946f410500ad14f62798ca646956 /gallery_dl/downloader/http.py
parent889c7b8caec8fc0b9c7a583ed1d9cfa43518fc42 (diff)
New upstream version 1.29.1.upstream/1.29.1
Diffstat (limited to 'gallery_dl/downloader/http.py')
-rw-r--r--gallery_dl/downloader/http.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gallery_dl/downloader/http.py b/gallery_dl/downloader/http.py
index 449ffe8..faea9e5 100644
--- a/gallery_dl/downloader/http.py
+++ b/gallery_dl/downloader/http.py
@@ -184,6 +184,11 @@ class HttpDownloader(DownloaderBase):
break
else:
msg = "'{} {}' for '{}'".format(code, response.reason, url)
+
+ challenge = util.detect_challenge(response)
+ if challenge is not None:
+ self.log.warning(challenge)
+
if code in self.retry_codes or 500 <= code < 600:
continue
retry = kwdict.get("_http_retry")