youtube-dl: VRV.co extractor error has occurred. (caused by KeyError('streams',))
Make sure you are using the latest version: run youtube-dl --version
and ensure your version is 2017.09.24. If it’s not, read this FAQ entry and update. Issues with outdated version will be rejected.
- [ x] I’ve verified and I assure that I’m running youtube-dl 2017.09.24 $ youtube-dl --version 2017.09.24
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 There are a couple of issues, but they’re tagged geo-restricted and other user failures. I believe my issue is unique.
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: ['-u', 'PRIVATE', '-p', 'PRIVATE', 'https://vrv.co/watch/G675N2D1R/HarmonQuest:The-Quest-Continues', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.09.24
[debug] Python version 3.6.2 - Linux-4.12.10-2-zen-x86_64-with-arch
[debug] exe versions: ffmpeg 3.3.4, ffprobe 3.3.4, rtmpdump 2.4
[debug] Proxy map: {}
[vrv] G675N2D1R: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError('streams',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 434, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/vrv.py", line 110, in _real_extract
streams_path = video_data['__links__']['streams']['href']
KeyError: 'streams'
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 434, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/vrv.py", line 110, in _real_extract
streams_path = video_data['__links__']['streams']['href']
KeyError: 'streams'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 777, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 447, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('streams',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
I have verified that my username/password on the commandline are correct and that I’m able to view this episode using the given URL in my browser. I also tried the shorter URL https://vrv.co/watch/G675N2D1R which also failed in the same manor.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 31
Commits related to this issue
- release 2019.01.17 — committed to ytdl-org/youtube-dl by dstftw 5 years ago
- [vrv] fix oauth signing for python 2(#14307) — committed to ytdl-org/youtube-dl by remitamine 5 years ago
it’s on the VRV extractor, every extractor that require authentication need’s to add some code to handle the login process(and sometimes auth tokens if needed), this code is specific to that website. as an example lynda and udemy extractors both support authentication but the code to add support is different.
Just to clarify for everyone, the issue is that a login is required to view this video and the login hasn’t been built into the vrv extractor yet. It works just fine if you’re watching a video that requires no account. Doesn’t have anything to do with the video format. Thanks for all the help everyone
So i’ve been looking into this bug, if you use the cookies you should be able to get around the login. The problem is you still can’t get the streams. I’ve been messing with the code on the command line and I’ve sort of figured some stuff out.
The url i’ve been testing with is https://vrv.co/watch/GRGGZZ98R/Lastman:Youre-An-Asshole-Aldana. You need an account to view it.
youtube-dl --cookies cookies-vrv.txt --verbose https://vrv.co/watch/G609EZPP6/Lastman:Youre-Just-Saying-That-Cause-I-Have-a-Grenade
For example the whole issue for me is on line.
streams_path = video_data['__links__']['streams']['href']
Now that doesn’t exist but I was able to find https://api.vrv.co/cms/v2/US/M3/alpha,cartoonhangover,crunchyroll,curiositystream,dramafever,fandor,funimation,geekandsundry,mondo,mubi,nerdist,roosterteeth,shudder,tested,vrvselect/videos/GY5V1GEPY/streams in my browser.
That gives back what I think is needed by
youtube-dl
.So the question is how do I find
GY5V1GEPY
in order to build that url? I have the cookies for my logged in self.an account is needed for developers interested/willing to add support for authentication, currently youtube-dl only support videos that don’t require an account(free and non age-restricted videos).
Okay so the account-needed tag was added but I have an account I’ve paid for and I’ve tried authenticating as well. Here’s the output for the time I authenticated