mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
continue downloading when the item is made private on pixiv
This commit is contained in:
parent
28798594e8
commit
d3046561d4
@ -1210,6 +1210,10 @@ class PixivAppAPI():
|
||||
self.extractor.wait(seconds=300)
|
||||
continue
|
||||
|
||||
if response.status_code == 403 \
|
||||
and "Artist has made their work private" in (error.get("message") or "").lower():
|
||||
raise exception.NotFoundError()
|
||||
|
||||
raise exception.StopExtraction("API request failed: %s", error)
|
||||
|
||||
def _pagination(self, endpoint, params, key="illusts"):
|
||||
|
Loading…
Reference in New Issue
Block a user