diff options
| author | 2019-07-20 05:51:44 -0400 | |
|---|---|---|
| committer | 2019-07-20 05:51:44 -0400 | |
| commit | 2a63a9c9b7032a76894c48ac4d9cea732fcaee49 (patch) | |
| tree | 3d5f633ff69cd393036a3dabc4d4533c8484f9ad /gallery_dl/extractor/sankakucomplex.py | |
| parent | 195c45911e79c33cf0bb986721365fb06df5a153 (diff) | |
New upstream version 1.9.0upstream/1.9.0
Diffstat (limited to 'gallery_dl/extractor/sankakucomplex.py')
| -rw-r--r-- | gallery_dl/extractor/sankakucomplex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/sankakucomplex.py b/gallery_dl/extractor/sankakucomplex.py index 22b2b63..55eda9f 100644 --- a/gallery_dl/extractor/sankakucomplex.py +++ b/gallery_dl/extractor/sankakucomplex.py @@ -110,8 +110,8 @@ class SankakucomplexTagExtractor(SankakucomplexExtractor): yield Message.Version, 1 while True: url = "{}/{}/page/{}/".format(self.root, self.path, pnum) - response = self.request(url, expect=(404,)) - if response.status_code == 404: + response = self.request(url, fatal=False) + if response.status_code >= 400: return for url in text.extract_iter(response.text, 'data-direct="', '"'): if url != last: |
