Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Invalid URL #17786
Invalid URL #17786
Comments
|
What exactly do you mean by invalid URL? |
|
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. |
|
Again: what exactly do you mean by "does not work". Post the output of |
|
vk uses hotlink protection maybe because of that |
|
Case 1 (dosent works, you cannot download the video from the url) |
|
@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 |
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?