AlphaSlayer1964 / kemono-dl

A simple kemono.party downloader using python.
509 stars 83 forks source link

Not Found for url: #35

Closed TaakoMagnusen closed 2 years ago

TaakoMagnusen commented 2 years ago

Version

Version: 2021.12.06

Service, User ID, Post ID

Your Command

python kemono-dl.py --cookies "kemono.party_cookies.txt" --links https://kemono.party/patreon/user/6858411

Description of bug

Downloader hits a 404 and stops the entire download process

How To Reproduce

run python kemono-dl.py --cookies "kemono.party_cookies.txt" --links https://kemono.party/patreon/user/6858411

Error messages and tracebacks

=================] 0.2/0.2 MB, 3.2 MB/s
[info] Saving comments: comments.html
[info] Saving json: 56952574.json
[info] Completed downloading post: August god damn sent out!
[info] Downloading Post: August's delay and pause for Sept
[info] service: [patreon] user_id: [6858411] post_id: [56422545]
[info] Saving content: content.html
[info] Downloading inline images:
[info] Saving comments: comments.html
[info] Saving json: 56422545.json
[info] Completed downloading post: August's delay and pause for Sept
[info] Downloading Post: Night with Baal
[info] service: [patreon] user_id: [6858411] post_id: [56071861]
[info] Downloading attachments:
[Downloading]: baal_addS.jpg
[info] Skipping download: file with matching hash already exists.
[info] Downloading post file:
[Downloading]: baal addS.jpg
[info] Skipping download: file with matching hash already exists.
[info] Saving content: content.html
[info] Downloading inline images:
[info] Saving comments: comments.html
[info] Saving json: 56071861.json
[info] Completed downloading post: Night with Baal
[info] Downloading Post: Afterparty Edelgard
[info] service: [patreon] user_id: [6858411] post_id: [55926607]
[info] Downloading attachments:
[Downloading]: IMG_6071.jpg
[info] Skipping download: file with matching hash already exists.
[info] Downloading post file:
[Downloading]: IMG_6071.jpg
[info] Skipping download: file with matching hash already exists.
[info] Saving content: content.html
[info] Downloading inline images:
[info] Saving comments: comments.html
[info] Saving json: 55926607.json
[info] Completed downloading post: Afterparty Edelgard
[info] Downloading Post: August rewards delay
[info] service: [patreon] user_id: [6858411] post_id: [55866262]
[info] Saving content: content.html
[info] Downloading inline images:
[Downloading]: ca0a9398-d796-4cea-92cc-541069b691ac.jpg
[Error] downloading: https://kemono.party/data/inline/ca0a9398-d796-4cea-92cc-541069b691ac.jpg
404 Client Error: Not Found for url: https://data5.kemono.party/data/inline/ca0a9398-d796-4cea-92cc-541069b691ac.jpg
[info] Retrying download in 30 seconds. (1/3)
[Downloading]: ca0a9398-d796-4cea-92cc-541069b691ac.jpg
[Error] downloading: https://kemono.party/data/inline/ca0a9398-d796-4cea-92cc-541069b691ac.jpg
404 Client Error: Not Found for url: https://data5.kemono.party/data/inline/ca0a9398-d796-4cea-92cc-541069b691ac.jpg

Additional comments

The downloader should not stop if it hits a 404, it should log which URLs it had trouble with and continue to download all the other content.

BTW the command in this bug template to get the version python kemono-dl.py --version doesn't work unless you include a ---cookies argument. Should probably fix that; but thats a separate bug.

AlphaSlayer1964 commented 2 years ago

Please use '-i' to ignore errors for now. I haven't had a lot of time to work on this but I'll be releasing a update with a bunch of fixes and changes this week. I will also keep remember to fix that '--version' issue.

TaakoMagnusen commented 2 years ago

my bad, didn't RTFM and so i didn't know about -i. Thanks!