Skip to content

[Kemono] gallery-dl stops downloads when a 404 link in a Kemono page is encountered #8382

@lawietold

Description

@lawietold

gallery-dl -v --filter "extension not in ('mp4', 'gif', 'webm', 'ogg', 'mpg', 'avi', 'mov', 'flv', 'm4v', 'mkv')" "https://kemono.cr/posts?q=capella"
[gallery-dl][debug] Version 1.30.9
[gallery-dl][debug] Python 3.12.10 - Windows-11-10.0.26100-SP0
[gallery-dl][debug] requests 2.32.5 - urllib3 2.5.0
[gallery-dl][debug] Configuration Files []
[gallery-dl][debug] Starting DownloadJob for 'https://kemono.cr/posts?q=capella'
[kemono][debug] Using KemonoPostsExtractor for 'https://kemono.cr/posts?q=capella'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): kemono.cr:443
[urllib3.connectionpool][debug] https://kemono.cr:443 "GET /api/v1/posts?q=capella&o=0 HTTP/1.1" 200 41924
[urllib3.connectionpool][debug] https://kemono.cr:443 "GET /api/v1/patreon/user/3946392/profile HTTP/1.1" 200 190
[urllib3.connectionpool][debug] https://kemono.cr:443 "GET /api/v1/patreon/user/26677387/profile HTTP/1.1" 200 193
[urllib3.connectionpool][debug] https://kemono.cr:443 "GET /api/v1/patreon/user/32413882/profile HTTP/1.1" 200 189
[kemono][debug] Skipping file /52/67/5267ba72b40f2f2b7066890eead35906daff34d20ec55cff6f4f73ff763b60e1.gif (duplicate)
.\gallery-dl\kemono\patreon\32413882\118159022_Capella Emerada Lugunica_01_Capella.clip
[kemono][debug] Skipping file /c6/d3/c6d3c27daefb99bdde850a50bf26f329af84631376330d2af8d46d8cdaa8deb3.gif (duplicate)
[urllib3.connectionpool][debug] https://kemono.cr:443 "GET /api/v1/patreon/user/115376423/profile HTTP/1.1" 200 198
[urllib3.connectionpool][debug] https://kemono.cr:443 "GET /api/v1/patreon/user/34792417/profile HTTP/1.1" 404 50
[kemono][error] HttpError: '404 NOT FOUND' for 'https://kemono.cr/api/v1/patreon/user/34792417/profile'
[kemono][debug]
Traceback (most recent call last):
File "C:\Users\viole\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\job.py", line 152, in run
for msg in extractor:
^^^^^^^^^
File "C:\Users\viole\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\kemono.py", line 96, in items
creator = creator_info[key] = self.api.creator_profile(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\viole\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\kemono.py", line 624, in creator_profile
return self._call(endpoint)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\viole\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\kemono.py", line 660, in _call
return self.extractor.request_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\viole\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\common.py", line 268, in request_json
response = self.request(url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\viole\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\common.py", line 260, in request
raise exc
gallery_dl.exception.HttpError: '404 NOT FOUND' for 'https://kemono.cr/api/v1/patreon/user/34792417/profile'

Also tried with the standard: "gallery-dl "URL"", and without using my config.json file with "--ignore-config".
Doesn't matter if I'm running gallery-dl on Win 11 or Linux, tried both.
Cookie usage makes no difference either.
I know for a fact that gallery-dl used to just skip 404 files and keep downloading the rest of the links on a Kemono search query page.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions