diff options
| author | 2021-09-09 01:57:57 -0400 | |
|---|---|---|
| committer | 2021-09-09 01:57:57 -0400 | |
| commit | 3f5483df9075ae526f4c54f4cbe80edeabf6d4cc (patch) | |
| tree | 6b2194fa03fd58ac35114c0dbec7561612a584b8 /gallery_dl/extractor/exhentai.py | |
| parent | d50ba9cfe80f00e02ca9a4714f75699c00e67128 (diff) | |
New upstream version 1.18.4.upstream/1.18.4
Diffstat (limited to 'gallery_dl/extractor/exhentai.py')
| -rw-r--r-- | gallery_dl/extractor/exhentai.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/exhentai.py b/gallery_dl/extractor/exhentai.py index bccd6c8..aabfe6b 100644 --- a/gallery_dl/extractor/exhentai.py +++ b/gallery_dl/extractor/exhentai.py @@ -203,8 +203,8 @@ class ExhentaiGalleryExtractor(ExhentaiExtractor): def _validate_response(response): # declared inside 'items()' to be able to access 'data' - if not response.history and \ - response.headers.get("content-length") == "137": + if not response.history and response.headers.get( + "content-type", "").startswith("text/html"): self._report_limits(data) return True |
