AlphaSlayer1964 / kemono-dl

A simple kemono.party downloader using python.
508 stars 81 forks source link

ERROR:No creator information was retrieved. | exiting #196

Open si-ryao opened 8 months ago

si-ryao commented 8 months ago

When I entered the same command about a month ago, I was able to download the file, but when I just ran it, I got the following result and was unable to download the file. Can you tell me how to handle it?

D:\kemono-dl-main>python kemono-dl.py --cookies "cookie.txt" --links https://kemono.su/fanbox/user/21862577
WARNING:URL is not downloadable | https://kemono.su/fanbox/user/21862577
ERROR:No creator information was retrieved. | exiting
ILogOutOnTheToilet commented 5 months ago

This is probably caused by creator GET request returning too large of a JSON object since currently it tries to get a list of all creators. I updated it to call the GET profile API, which just gets the creator from the URL you passed: https://github.com/ILogOutOnTheToilet/kemono-dl/commit/00bc20edacfe8cd98442585342aaf751e0c5abc5

pankakg commented 5 months ago

This is probably caused by creator GET request returning too large of a JSON object since currently it tries to get a list of all creators. I updated it to call the GET profile API, which just gets the creator from the URL you passed: ILogOutOnTheToilet@00bc20e

It's been a while since I was able to update thank you!

pankakg commented 4 months ago

This is probably caused by creator GET request returning too large of a JSON object since currently it tries to get a list of all creators. I updated it to call the GET profile API, which just gets the creator from the URL you passed: ILogOutOnTheToilet@00bc20e

I thought it was working, but After checking the first person's post, I cannot move on to the second person's post.

Your Command: py -m kemono-dl --cookies "cookie.txt" --dateafter 20240515 --post-timeout 2 --retry 5 --content --comments --kemono-fav-users fanbox

Error: **\Roaming\Python\Python310\site-packages\bs4__init__.py:404: MarkupResemblesLocatorWarning: The input looks more like a URL than markup. You may want to use an HTTP client like requests to get the document behind the URL, and feed that document to Beautiful Soup. warnings.warn(

*****\Python\Python310\site-packages\bs4__init__.py:435: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup. warnings.warn(

ERROR:Failed to get post comments Traceback (most recent call last): File "J****[!kemono-dl-2022.02.10]\kemono-dl\src\main.py", line 286, in get_comments no_comments = re.search(r'([^ ]+ does not support comment scraping yet.|No comments found for this post.)',comment_soup.text) AttributeError: 'NoneType' object has no attribute 'text'

https://github.com/ILogOutOnTheToilet/kemono-dl/tree/update-creator-and-favorites-API I am using this (2024/05/21) I would be happy if you could respond.

ILogOutOnTheToilet commented 4 months ago

@pankakg My fork only fixed it for single download like in the command that OP uses, not multi-download. Will have to take a look when I have time since I don't use logged-in features.

python kemono-dl.py --cookies <cookie file path> --links <url>

From the error, it might work if you remove --comments parameter. You can ignore the warnings.

pankakg commented 4 months ago

@pankakg My fork only fixed it for single download like in the command that OP uses, not multi-download. Will have to take a look when I have time since I don't use logged-in features.

python kemono-dl.py --cookies <cookie file path> --links <url>

From the error, it might work if you remove --comments parameter. You can ignore the warnings.

thank you for your reply. I tried it as you taught me, but the first poster works fine, but Problems arise with the second person. [First person's name] + [Second person's ID] A new folder is created, and its contents are normal. (Correct second object and file name)

Command: py -m kemono-dl --cookies "cookie.txt" --dateafter 20240515 --kemono-fav-users fanbox