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

[vk.com] Can't download embedded rutube videos #4514

Closed
qyuz opened this issue Dec 18, 2014 · 6 comments
Closed

[vk.com] Can't download embedded rutube videos #4514

qyuz opened this issue Dec 18, 2014 · 6 comments

Comments

@qyuz
Copy link

@qyuz qyuz commented Dec 18, 2014

[debug] Command-line args: ['http://vk.com/video-57839910_167080183', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.17.2
[debug] Python version 2.7.3 - Linux-3.12.28+-armv6l-with-debian-7.6
[debug] exe versions: avconv 9.14-6, avprobe 9.14-6, ffmpeg 0.8.13-6, rtmpdump 2.4
[debug] Proxy map: {}
[vk.com] -57839910_167080183: Downloading webpage
ERROR: Unable to extract vars; 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 "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 592, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 243, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/vk.py", line 176, in _real_extract
data_json = self._search_regex(r'var vars = ({.*?});', info_page, 'vars')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 489, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract vars; 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.

@qyuz
Copy link
Author

@qyuz qyuz commented Dec 18, 2014

Ok, figured it out - it's rutube video on vk. I was able to download video from rutube, So it'd be good if youtube-dl could figure that out by itself? But it's just for convenience in this case and not a lethal case.

Thank you very much!

@jaimeMF jaimeMF changed the title Unable to extract vk.com video [vk.com] Can't download embedded rutube videos Dec 18, 2014
@phihag phihag closed this in 7a1818c Jan 4, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Jan 4, 2015

I believe this issue to be fixed in youtube-dl 2015.01.04. See our FAQ if you need help updating.

@anisse
Copy link
Contributor

@anisse anisse commented Jan 4, 2015

This broke most tests on the vk extractor.

@anisse
Copy link
Contributor

@anisse anisse commented Jan 4, 2015

In hindsight, I think it only broke three out of seven tests.

@phihag phihag reopened this Jan 4, 2015
@jaimeMF jaimeMF closed this in 9932a65 Jan 9, 2015
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 9, 2015

@anisse they should work again now.

@anisse
Copy link
Contributor

@anisse anisse commented Jan 10, 2015

Confirmed. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
@phihag @anisse @jaimeMF @qyuz and others
You can’t perform that action at this time.