diff options
Diffstat (limited to 'gallery_dl/extractor/common.py')
| -rw-r--r-- | gallery_dl/extractor/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py index 1b41101..f7ee51f 100644 --- a/gallery_dl/extractor/common.py +++ b/gallery_dl/extractor/common.py @@ -152,7 +152,8 @@ class Extractor(): server = response.headers.get("Server") if server and server.startswith("cloudflare"): if code == 503 and \ - b"jschl-answer" in response.content: + (b"_cf_chl_opt" in response.content or + b"jschl-answer" in response.content): self.log.warning("Cloudflare IUAM challenge") break if code == 403 and \ |
