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

FUNimation no longer working #20665

Open
oobedoob opened this issue Apr 14, 2019 · 15 comments
Open

FUNimation no longer working #20665

oobedoob opened this issue Apr 14, 2019 · 15 comments

Comments

@oobedoob
Copy link

@oobedoob oobedoob commented Apr 14, 2019

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.04.07. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2019.04.07

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.funimation.com/shows/seven-mortal-sins/the-proud-fallen-angel/uncut/?lang=english']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.04.07
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: none
[debug] Proxy map: {}
[Funimation] the-proud-fallen-angel: Downloading webpage
WARNING: [Funimation] the-proud-fallen-angel: 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\tmpspbwh57p\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbwh57p\build\youtube_dl\extractor\common.py", line 529, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbwh57p\build\youtube_dl\extractor\funimation.py", line 100, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbwh57p\build\youtube_dl\extractor\common.py", line 1134, in _html_search_meta
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbwh57p\build\youtube_dl\extractor\common.py", line 1013, in _html_search_regex
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbwh57p\build\youtube_dl\extractor\common.py", line 1004, 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.
...
<end of log>

Description of your issue, suggested solution and other information

Looks like FUNimation may have updated their site within the last week or so as everything was working fine and now I'm not able to download any videos from their site now. Hopefully I've filled out everything you need.

@SwimmingLink
Copy link

@SwimmingLink SwimmingLink commented May 5, 2019

On that video, I get
"This video contains mature content.
To continue, log in or create an account."
However, testing on a TV-14 show (which doesn't require a login), I still can't use youtube-dl. I was able to find (without youtube-dl) a playlist per audio language (each containing playlists for resolutions), also VTT subtitles as there seem to be no hardsubs like Crunchyroll has.

@darkhelmet2016
Copy link

@darkhelmet2016 darkhelmet2016 commented May 25, 2019

Looks like the authorization has changed.

$.ajax({

  | contentType: 'application/json',
  | data: data,
  | dataType: 'json',
  | headers: {'Authorization': 'Token ' + token},

@darkhelmet2016
Copy link

@darkhelmet2016 darkhelmet2016 commented May 26, 2019

The header data and play list data for resolution possibly has also changed.

Watch Seven Mortal Sins Season 1 Episode 1 Dub | Anime Uncut | Funimation
360p
540p
720p
810p
1080p

@SwimmingLink
Copy link

@SwimmingLink SwimmingLink commented May 30, 2019

Building a new cookie file, I was able to see the A/V streams again with youtube-dl. The cookie file seems to expire really fast though and you'll need to keep creating new ones (no idea on accurate pinpoint timing), but I still can't use it to get subtitles, so you'll still have to get those another way (monitor your traffic for a vtt file. not sure if different videos have different formatted subs, so might want to keep your eyes open for "srt", etc., but the subs (for Haruhi Suzumiya at least) are hosted on cloudfront.net)

EDIT: This only found English audio streams, no Japanese audio streams. Also, an easier way of finding sub files is explained in later posts

@darkhelmet2016
Copy link

@darkhelmet2016 darkhelmet2016 commented May 30, 2019

They have 3 subtle formats. srt, .dfxp, and .vtt. You could probably have it try to download all subtitle formats and covert to another format if possible for muxig if needed. --all-subs --sub-lang en --write-sub --convert-subs to the format you want. Might or might not work but what have been using on sites like Crunchy.

@SwimmingLink
Copy link

@SwimmingLink SwimmingLink commented May 30, 2019

--all-subs doesn't find anything on funimation. I haven't needed to convert yet, what I grab raw has been compatible. I'm unfamiliar with .dfxp though...

@darkhelmet2016
Copy link

@darkhelmet2016 darkhelmet2016 commented May 31, 2019

Then it may not know hot to extract them properly for the funimation downloader. https://en.wikipedia.org/wiki/Timed_Text_Markup_Language It is a format that believe is used by Netflix. You don't have to monitor the traffic, you can find it in the video info of a file in chrome. Look for the file you want and have it open it and save it as what you want. These files are from The Melancholy of Haruhi Suzumiya Episode 1 Japanese sub.

https://d132fumi6di1wa.cloudfront.net/FunimationStoreFront/1508682/Japanese/1508682_Japanese_5ade2278-f15c-e711-8175-020165574d09.vtt

https://d132fumi6di1wa.cloudfront.net/FunimationStoreFront/1508682/Japanese/1508682_Japanese_5ede2278-f15c-e711-8175-020165574d09.srt

https://d132fumi6di1wa.cloudfront.net/FunimationStoreFront/1508682/Japanese/1508682_Japanese_5dde2278-f15c-e711-8175-020165574d09.dfxp

@SwimmingLink
Copy link

@SwimmingLink SwimmingLink commented May 31, 2019

How does one view said video info in Chrome? It sounds like this may make things a lot easier than what I've been doing...

Interesting though, that's an entirely different sub file than what I found at:

https://d132fumi6di1wa.cloudfront.net/FunimationStoreFront/1508682/English/1508682_English_0b5a4617-ec5c-e711-8175-020165574d09.vtt

It seems as though subs are dependent on the audio language... :\

@darkhelmet2016
Copy link

@darkhelmet2016 darkhelmet2016 commented May 31, 2019

The English dub has closed caption subs and the Japanese dub has subs subs for the Japanese translation. In chrome when playing a video when you right click on the video chose view frame source and it is easier than trying to look at all the streaming info than using dev tools and just do a search for "subtitle" using ctrl+f English is for the Dub and Japanese is for the sub when looking for the subtitle links. A word of warning browsing their store will also effect your cookie session.

@SwimmingLink
Copy link

@SwimmingLink SwimmingLink commented May 31, 2019

I don't get a "view frame source" in my right-click menu :\ My two right-click menus on the video in Chrome look like this:
image image
Or is "Inspect" the same thing?

EDIT: I just tried disabling my two extensions that show in there, but that didn't help. :
I run Chrome Dev. I just tried Chrome Beta and got the same thing (sans Video DownloadHelper)

EDIT AGAIN: bringing up the in-player menu, then right-clicking gives the option.

@darkhelmet2016
Copy link

@darkhelmet2016 darkhelmet2016 commented May 31, 2019

Are you on windows? But to do it you have to be on the video url for it to do it. view-source:https://www.funimation.com/player/531539/?bdub=0&qid=undefined

@darkhelmet2016
Copy link

@darkhelmet2016 darkhelmet2016 commented May 31, 2019

view-source:https://www.funimation.com/player/148980/?bdub=0&lang=english&qid=undefined is for The Melancholy of Haruhi Suzumiya Episode 1 English dub. It would have to be in this format but would have to make sure you have the view-source in front of it. The whole thing would have to be copy/paste not just the link. The numerical value would be the experienceId: '148980' for each episode If you can get to the page source and just look for this meta property="og:video:url" content="/player/148123" it is the same episode data.

@SwimmingLink
Copy link

@SwimmingLink SwimmingLink commented Jun 1, 2019

Oh, yes, I'm on Windows. Sorry, I keep forgetting that this is more of a Linux thing. Thank you though! This totally works and is much better than what I've been doing!

@SwimmingLink
Copy link

@SwimmingLink SwimmingLink commented Jun 2, 2019

I'm still failing to find URLs for the files with Japanese audio though... :\ I'm only seeing stuff for English.

EDIT: Apparently I had to change my default in my profile settings. Simply changing the language while playing didn't work.

@SwimmingLink
Copy link

@SwimmingLink SwimmingLink commented Jun 6, 2019

Anyone use the USERNAME & PASSWORD commands rather than cookies? If that works better, I should probably do that rather than constantly re-generating my cookie file to use...

EDIT: Sorry, looks like this is part of what's broken... XD

@ytdl-org ytdl-org locked and limited conversation to collaborators Jul 15, 2019
@ytdl-org ytdl-org deleted a comment from cdmatter Jul 15, 2019
@ytdl-org ytdl-org deleted a comment from Fordi Jul 15, 2019
@ytdl-org ytdl-org deleted a comment from axipher Jul 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.