Open ItzDerock opened 1 year ago
Would also like to add that animdl doesn't show results from 9anime, even when prefixing with 9anime:
https://9animetv.to/watch/mushoku-tensei-jobless-reincarnation-season-2-18418?ep=103010
I get the same unicode error as well - additional information: the very top entry of the stack trace shows the idna.py code which performs a greater than or equal to check for 64 characters in length.
Python 3.11.4 here.
I get the same unicode error as well - additional information: the very top entry of the stack trace shows the idna.py code which performs a greater than or equal to check for 64 characters in length.
This is already a known issue with the library, see here -> https://github.com/python/cpython/issues/77139
Would also like to add that animdl doesn't show results from 9anime, even when prefixing with
9anime:
https://9animetv.to/watch/mushoku-tensei-jobless-reincarnation-season-2-18418?ep=103010
@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
Output
See this paste for full logs
Version
Python 3.11.3