Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error encountered in a post with no content #27

Closed
1223334444abc opened this issue Aug 24, 2023 · 1 comment
Closed

Error encountered in a post with no content #27

1223334444abc opened this issue Aug 24, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@1223334444abc
Copy link

1223334444abc commented Aug 24, 2023

https://kemono.party/

The program reports an error and exits directly: "panic: runtime error: index out of range [-1]"
The official said that this type of post is caused by a blacklist, and I think it can be directly ignored.
(Does anyone know what a blacklist means?)

https://kemono.party/
And in this post, the downloader download three extra txt files.

"An existing connection was forcibly closed by the remote host."
I have often encountered such mistakes recently, and they will be resolved in a few minutes. It seems that the website is restricting downloads?

@elvis972602 elvis972602 added the bug Something isn't working label Aug 27, 2023
@elvis972602
Copy link
Owner

elvis972602 commented Sep 1, 2023

I'm sorry I completely forgot about this issue, regarding the second question, the api has a name field, which in some images named txt is indeed txt. If you rename it with the correct format (png, jpg, etc.) you should get the correct file.
I think this is a special case and unpredictable. I also use other downloaders such as gallery-dl and have the same problem, so this should not be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants