Closed Ripper346 closed 5 years ago
You need to be logged in and have a Premium account.
You didn't have to previously and other tools such as streamlink
can still fetch high res streams just fine.
You need to be logged in and have a Premium account.
So you are saying that I can watch in 1080p on the website but youtube-dl needs a premium account to have access to the same content I view for free?! Are you sure?
Yeah, it works on the website.
Yes, unless otherwise stated you have to have a premium account to watch most content or use a program to download higher than 480p. The first ep is usually free in 720/1080p on their site. You can download subs but you have to use the proper arguments for downloading them. But the only way to get subs is either convert them to a format mp4 can use or mux it to mkv to use the .ass subs.
Yep, you were able to download 720p and 1080p before, and it works on the site too.
If you start playing the episode in your browser in 1080p; then use your browser's dev tools to get the URL of the m3u8 file; then feed the URL into youtube-dl; youtube-dl will download the episode in 1080p with no problems.
I've never had any sort of account with Crunchyroll, premium or not, and I've managed to download the last two episodes of Shield Hero in 1080p using this method. The point being, there's no problem with youtube-dl being able to download the higher resolution streams, at the moment it just can't find where they are.
Oh, I should also point out that all of this is completely contingent on what country you're in and what show you're trying to watch, as I have discovered by using a VPN.
And since this is not an actual bug and it works just fine when you log in this will probably get closed out.
it works just fine when you log in
That would suggest that in the last two weeks Crunchyroll have changed how streams are loaded for people who aren't signed in, but left things unchanged for people who are signed in.
If you start playing the episode in your browser in 1080p; then use your browser's dev tools to get the URL of the m3u8 file; then feed the URL into youtube-dl; youtube-dl will download the episode in 1080p with no problems.
That works, I was expecting that youtube-dl did it by itself like it did until no long time ago. But since that this isn't a lack of the software because "you have to get the premium for an already free thing" nor a bug because there isn't an actual error, I will look forward to download manually or use another software like the one wrote by atemu
For me at least, it seems that 720p and 1080p are offered under adaptive_hls
, but the others are not? I tried changing youtube_dl/extractor/vrv.py
._extract_vrv_formats()
to accept adaptive_hls
(in addition to hls
and dash
) and that seems to fix it. (Or is that unrelated to this?)
@AlexIIL is there any chance you could expand on what you did? I have no experience editing youtube-dl extractors. Cheers.
Essentially I made this change to the code: https://github.com/AlexIIL/youtube-dl/commit/f85a1a32b59e15dad00b7b62c126930a5143f470. However I've not worked in python or with youtube-dl before so those might not be enough (ignoring the debug print statements).
@AlexIIL just tested your patch. Worked like a charm. Well done. Thanks.
I use it to get the streaming link from any episode (hardcoded), When I use the -F command, I always got all the resolutions to all the language available like:
crunchyroll] 780923: Downloading audio-jaJP-hardsub-ruRU m3u8 information [crunchyroll] 780923: Downloading audio-jaJP-hardsub-itIT m3u8 information [crunchyroll] 780923: Downloading audio-jaJP-hardsub-arME m3u8 information [crunchyroll] 780923: Downloading audio-jaJP m3u8 information [crunchyroll] 780923: Downloading audio-jaJP-hardsub-esES m3u8 information [crunchyroll] 780923: Downloading audio-jaJP-hardsub-frFR m3u8 information [crunchyroll] 780923: Downloading audio-jaJP-hardsub-deDE m3u8 information [crunchyroll] 780923: Downloading audio-jaJP-hardsub-esLA m3u8 information [crunchyroll] 780923: Downloading audio-jaJP-hardsub-enUS m3u8 information [crunchyroll] 780923: Downloading audio-jaJP-hardsub-ptBR m3u8 information
But now I just get
[crunchyroll] Logging in [crunchyroll] 782737: Downloading webpage [crunchyroll] 782737: Downloading media info for 480p [crunchyroll] 782737: Downloading stream info for 480p [crunchyroll] 782737: Downloading m3u8 information [crunchyroll] 782737: Downloading media info for 1080p [crunchyroll] 782737: Downloading stream info for 1080p [crunchyroll] 782737: Downloading media info for 360p [crunchyroll] 782737: Downloading media info for 720p [crunchyroll] 782737: Downloading stream info for 720p [crunchyroll] 782737: Downloading media info
And it just gives me
format code extension resolution note hls-410-0 mp4 428x240 410k , avc1.42c015, 23.974fps, mp4a.40.2 hls-410-1 mp4 428x240 410k , avc1.42c015, 23.974fps, mp4a.40.2 hls-548-0 mp4 640x360 548k , avc1.4d401e, 23.974fps, mp4a.40.2 hls-548-1 mp4 640x360 548k , avc1.4d401e, 23.974fps, mp4a.40.2 hls-1025-0 mp4 848x480 1025k , avc1.4d401f, 23.974fps, mp4a.40.2 hls-1025-1 mp4 848x480 1025k , avc1.4d401f, 23.974fps, mp4a.40.2 (best)
It's a premium account, so I don't know what is happening.
Both of your posted episodes work for me, are you on the newest version? (2019.07.02)
Checklist
Verbose log
Description
The maximum resolution for any video of Crunchyroll is now only 480p. From the website I can watch the same episodes in 720p or 1080p without being logged in. The same behavior is on single episode, playlist and different locale urls. Also it's no more visible the language of the versions (it seems that there isn't any subbed version among the 480p).