-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[Funimation] Update url pattern to include language code #28950
Conversation
This comment has been minimized.
This comment has been minimized.
This will break URLs without the lang code. |
URLs without the language code currently do not work. Funimation seems to be in the process of deprecating them. The pages still exist but they do not contain the information that the extractor is looking for. Here's an example:
I don't see a good reason to try to rewrite the extractor to fix these old pages which seem to be going away. Another option is to accept both with and without the language code in the URL. If the language code is not present then use a default like |
URLs without lang code work perfectly fine. |
Wait is Funimation working with YTDL now? if so whats the process |
@True-King Dstftw checked in a fix here. Does it work for you? |
Hi checked but it doesn't work for me, but question? I have the ytdl.exe do I have to add the funimation.py to the same folder? |
If you want to use the exe, then you'll need to wait for the next release and download it. The most recent one is from April 26th, so it won't include the fix. I'm not sure how often it gets an update. https://ytdl-org.github.io/youtube-dl/download.html Alternatively, you can download the full source code here today and use python to run it directly. |
Ohh nice I am familiar with Python quite a bit so I couldn't understand why the exe wasn't working lol. Thanks again |
@Mevious Sorry if I'm missing something really obvious, but I cloned the master branch with git and ran main.py and still received the same error in your above post. I double checked funimation.py, ensuring that it had the changes in that PR. is there anything else that I am missing because I really don't understand what is causing this. |
Having same issue |
I was never able to get it working without the language code in the URL. If you're trying with a URL like this |
Please follow the guide below
x
into all the boxes [ ] relevant to your pull request (like that [x])Before submitting a pull request make sure you have:
In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:
What is the purpose of your pull request?
Description of your pull request and other information
Funimation recently made an update to include the two-letter language code in all urls. This updates the url matching pattern to include these language codes. This fixes #28879 which was closed as a duplicate, but I can't find what it is a duplicate of.