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 does not work anymore #4686

Closed
doublex opened this issue Jan 11, 2015 · 6 comments
Closed

vk.com does not work anymore #4686

doublex opened this issue Jan 11, 2015 · 6 comments

Comments

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 11, 2015

The video seems to be restricted to registered users, have you tried with the --username option?

If it doesn't work, please post the full output of youtube-dl 'http://vk.com/video_ext.php?oid=232484720&id=169808649&hash=ab04827a4a232f49' --verbose OTHER_OPTIONS_HERE.

@doublex
Copy link
Author

@doublex doublex commented Jan 11, 2015

Thanks a lot.
I think the error message is an error. The video plays in the browser (I don't have a vk.com account) - but to download the video does not work.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 11, 2015

But it can't be played if you click in the Go to video button.
By the way: it would be great if you could provide a video that wasn't a movie (probably uploaded without distributing rights).

@fiocfun
Copy link
Contributor

@fiocfun fiocfun commented Jan 29, 2015

Valid 'hash' param of url allows access for non-registered users; this is intended for embedding on other sites, etc.

@yousufalim
Copy link

@yousufalim yousufalim commented Feb 17, 2015

i have a similar problem, videos that require authentication dont download, however all videos that do not require auth download just fine.
i am using the latest version on youtube-dl

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://vk.com/video-87482294_171259320', '-u', u'PRIVATE', '-p', u'PRIVATE']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.02.16
[debug] Python version 2.7.5 - Linux-3.10.23-xxxx-std-ipv6-64-x86_64-with-fedora-20-Heisenbug
[debug] exe versions: ffmpeg 2.1.5, ffprobe 2.1.5
[debug] Proxy map: {}
[vk.com] Logging in as admin@pixup.us
[vk.com] -87482294_171259320: 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/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 633, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 270, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/vk.py", line 184, in _real_extract
data_json = self._search_regex(r'var vars = ({.*?});', info_page, 'vars')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, 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.

@dstftw dstftw closed this in 4e01501 Mar 1, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 1, 2015

Will be fixed in the next version.

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
You can’t perform that action at this time.