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

Invalid URL #17786

Closed
lachuza opened this issue Oct 4, 2018 · 7 comments
Closed

Invalid URL #17786

lachuza opened this issue Oct 4, 2018 · 7 comments
Labels

Comments

@lachuza
Copy link

@lachuza lachuza commented Oct 4, 2018

Try to get vk.com url and generates a invalid url inone machine and valid in other.

youtube-dl -g https://vk.com/video-51189706_456244634
634 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-g', u'https://vk.com/video-51189706_456244634', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.09.26
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-20-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: none
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
https://cs6-8v4.vkuservideo.net/video/hls/p18/14f300a3c3c5/index-f2-v1-a1.m3u8?extra=RlT5yNqZ9KxoU-4nAtWVUGvD
WzzospqE-nVN_dXfjBq67JndnJKhMy9fxtyRgd0fBz8XcZKqMS1cmCTBkIWJFHCDPY-iJw46u44-F_W9JIY0UisNqfpvpc1fLlZqVSEC1P1we
s4RUZ2_0Q

I try the same command in other machine and works just fine.
youtube-dl -g https://vk.com/video-51189706_456244634 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-g', u'https://vk.com/video-51189706_456244634', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.09.26
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-34-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: none
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
https://cs6-8v4.vkuservideo.net/video/hls/p18/476d34e200fe/index-f2-v1-a1.m3u8?extra=vjNW9POhFcqoaSE_7NIWKL_V4zagIwd9-AtfMCLvLrfluxEpDJCo-haseCNQML_UljDYSWc9h2NnA1OuD0t7BE33QbQkwIXJrg11GafSuX6kBCJ26hSZuEDbIpfUAQWcKPx39VGqLalN

What is the problem?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 4, 2018

What exactly do you mean by invalid URL?

@lachuza
Copy link
Author

@lachuza lachuza commented Oct 4, 2018

the first url in my comments dosent works, but the second yes and is the same video for both. follow the two links and you will see.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 4, 2018

Again: what exactly do you mean by "does not work". Post the output of youtube-dl https://vk.com/video-51189706_456244634 from this machine.

@mrfade
Copy link
Contributor

@mrfade mrfade commented Oct 4, 2018

vk uses hotlink protection maybe because of that

@dstftw dstftw closed this Oct 4, 2018
@dstftw dstftw added the invalid label Oct 4, 2018
@lachuza
Copy link
Author

@lachuza lachuza commented Oct 4, 2018

@mrfade
Copy link
Contributor

@mrfade mrfade commented Oct 4, 2018

@lachuza You could not download the extracted url from another machine/ip because VK uses hotlink protection which allows to access from the same machine/ip

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