-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
UnicodeError: encoding with 'idna' codec failed #285
Comments
Would also like to add that animdl doesn't show results from 9anime, even when prefixing with |
This is already a known issue with the library, see here -> python/cpython#77139 |
@ItzDerock This should definitely be a separate issue. Also, just so you know, 9anime rebranded and is no longer 9anime. That link is to a fake site. I would advise caution. |
@MinamiHasaki Any plans to create a workaround or use a different library? This appears to have been a known issue for several years, and devs are reluctant to "fix" it because it is caused by the base URI exceeding 63 characters, which is against RFC-1035 standards. As someone in the referenced issue pointed out, there's a possibility DNS servers wouldn't even route such URLs because of that. Maybe it's worth investing some dev time in fixing the root-cause on an application level rather than waiting to see if they ever decide to stop enforcing the max length at the codec level? |
As a note, after upgrading to version 1.7.24, I am not getting this issue any longer. Not sure if changes were made regarding this in the newest release. |
I am also no longer having this issue |
Command
animdl download "Mushoku Tensei II"
Output
See this paste for full logs
Version
Python 3.11.3
The text was updated successfully, but these errors were encountered: