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

Closed
opened 2026-02-21 01:30:37 -05:00 by deekerman · 6 comments
Owner

Originally created by @qyuz on GitHub (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.

Originally created by @qyuz on GitHub (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.
Author
Owner

@qyuz commented on GitHub (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!

@qyuz commented on GitHub (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!
Author
Owner

@phihag commented on GitHub (Jan 3, 2015):

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

@phihag commented on GitHub (Jan 3, 2015): I believe this issue to be fixed in youtube-dl 2015.01.04. See [our FAQ](https://yt-dl.org/update) if you need help updating.
Author
Owner

@anisse commented on GitHub (Jan 4, 2015):

This broke most tests on the vk extractor.

@anisse commented on GitHub (Jan 4, 2015): This broke most tests on the vk extractor.
Author
Owner

@anisse commented on GitHub (Jan 4, 2015):

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

@anisse commented on GitHub (Jan 4, 2015): In hindsight, I think it only broke three out of seven tests.
Author
Owner

@jaimeMF commented on GitHub (Jan 9, 2015):

@anisse they should work again now.

@jaimeMF commented on GitHub (Jan 9, 2015): @anisse they should work again now.
Author
Owner

@anisse commented on GitHub (Jan 10, 2015):

Confirmed. Thanks a lot!

@anisse commented on GitHub (Jan 10, 2015): Confirmed. Thanks a lot!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#3662
No description provided.