ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.34k stars 9.95k forks source link

Funimation Updated Site #29963

Open card0z opened 3 years ago

card0z commented 3 years ago

Can you update youtube-dl to work with the latest version of funimation. It seems to have a /v/ in the middle of the url. For eg:https://www.funimation.com/v/black-clover/vice-captain-langris-vaude instead of https://www.funimation.com/en/black-clover/vice-captain-langris-vaude. I can drag and drop the url from edge beta into mpv and it plays but does not work when I drag it from firefox. Thank you.

Rocksteady18 commented 3 years ago

Yea it still can download the audio and video and then you can ffmpeg them together but its better to have youtube-dl parse and do it all.

card0z commented 3 years ago

No it isn't working. it says site not supported. For the url which includes the /v/

card0z commented 3 years ago

Will it be updated any time soon?

meap98 commented 2 years ago

Yea it still can download the audio and video and then you can ffmpeg them together but its better to have youtube-dl parse and do it all.

So I was wondering how do you get the m3u8 files because at the curent time it might be our only work around since Funimation switched over to the new video player

Rocksteady18 commented 2 years ago

In firefox dev tools turn on responsive design mode and set to ipad and then reload the page and look in network tab of dev tools it will use hls player and you will get m3u8 link.

meap98 commented 2 years ago

In firefox dev tools turn on responsive design mode and set to ipad and then reload the page and look in network tab of dev tools it will use hls player and you will get m3u8 link.

so I did it but now it's showing me 4 m3u8 links I got one and it was just audio and the other Screenshot 2021-10-09 121856

Rocksteady18 commented 2 years ago

It’s usually the first one which is the master. It’s the same thing youtube-dl sees when it’s working and you do youtube-dl -F

meap98 commented 2 years ago

It’s usually the first one which is the master. It’s the same thing youtube-dl sees when it’s working and you do youtube-dl -F

how will I know what one is the master because all of the other ones gave me the same error

joshbrown50 commented 2 years ago

I am also getting the 403 Forbidden error

halflifedave commented 2 years ago

You should be seeing an error message about it being unable to parse the & character. Cover all &s in the url with "" and it should work correctly.

card0z commented 2 years ago

It still says "ERROR: Unsupported URL: https://www.funimation.com/v/deep-insanity-the-lost-child/take-01". Is it gonna updated anytime soon?

Rocksteady18 commented 2 years ago

Would be good to have it fixed. I hope the devs are aware.

Rocksteady18 commented 2 years ago

Using yt-dlp now it works great. https://github.com/yt-dlp/yt-dlp

card0z commented 2 years ago

Thank you so much!! Appreciate it!

dnordel commented 1 year ago

I was having the same issue, and when I changed the "/v/" in the URL to "/shows/" and added "/?lang=English" (which does work to access the show directly) to the end of the URL, it no longer throws off this error. However, I am now getting the following error:

Microsoft Windows [Version 10.0.19045.2251] (c) Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>cd C:\youtube-dl

C:\youtube-dl>youtube-dl --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" -u PRIVATE -p PRIVATE --cookies cookies-funimation-com.txt --embed-subs --embed-thumbnail --add-metadata -o %(episode_number)s-%(title)s.%(ext)s --recode-video mkv -v https://www.funimation.com/shows/one-piece/zs-ambition-lily-the-little-giant/?lang=English [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36', '-u', 'PRIVATE', '-p', 'PRIVATE', '--cookies', 'cookies-funimation-com.txt', '--embed-subs', '--embed-thumbnail', '--add-metadata', '-o', '%(episode_number)s-%(title)s.%(ext)s', '--recode-video', 'mkv', '-v', 'https://www.funimation.com/shows/one-piece/zs-ambition-lily-the-little-giant/?lang=English'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041 [debug] exe versions: ffmpeg 2022-11-03-git-5ccd4d3060-full_build-www.gyan.dev, ffprobe 2022-11-03-git-5ccd4d3060-full_build-www.gyan.dev [debug] Proxy map: {} [Funimation] Logging in [Funimation] zs-ambition-lily-the-little-giant: Downloading webpage WARNING: [Funimation] zs-ambition-lily-the-little-giant: Failed to parse JSON Expecting value: line 1 column 1 (char 0) ERROR: Unable to extract al:web:url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\funimation.py", line 104, in _real_extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1142, in _html_search_meta File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1021, in _html_search_regex File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex youtube_dl.utils.RegexNotFoundError: Unable to extract al:web:url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

dnordel commented 1 year ago

I also tried removing the -u -p, as https://github.com/ytdl-org/youtube-dl/issues/30056 suggests, but still get the error:

C:\youtube-dl>youtube-dl.exe --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" --cookies cookies-funimation-com.txt --embed-subs --embed-thumbnail --add-metadata -o %(episode_number)s-%(title)s.%(ext)s --recode-video mkv -v https://www.funimation.com/shows/one-piece/zs-ambition-lily-the-little-giant/?lang=English [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36', '--cookies', 'cookies-funimation-com.txt', '--embed-subs', '--embed-thumbnail', '--add-metadata', '-o', '%(episode_number)s-%(title)s.%(ext)s', '--recode-video', 'mkv', '-v', 'https://www.funimation.com/shows/one-piece/zs-ambition-lily-the-little-giant/?lang=English'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041 [debug] exe versions: ffmpeg 2022-11-03-git-5ccd4d3060-full_build-www.gyan.dev, ffprobe 2022-11-03-git-5ccd4d3060-full_build-www.gyan.dev [debug] Proxy map: {} [Funimation] zs-ambition-lily-the-little-giant: Downloading webpage WARNING: [Funimation] zs-ambition-lily-the-little-giant: Failed to parse JSON Expecting value: line 1 column 1 (char 0) ERROR: Unable to extract al:web:url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\funimation.py", line 104, in _real_extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1142, in _html_search_meta File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1021, in _html_search_regex File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex youtube_dl.utils.RegexNotFoundError: Unable to extract al:web:url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.