Answer the question
In order to leave comments, you need to log in
Is it possible to somehow pull out a direct link to a video from VK in 2018?
Hello, is there a working way to get a direct link to a video from VK? You need to download it to your server. I’ve been trying for 4 days already, I’ve tried a bunch of ways, everything on the Internet is outdated.
I found more than a working one through Guzzle, I logged in, pulled out the link. However, it only works for a specific user. The video opens through the browser, but the download failed through Guzzle.
Great link in the mobile version, but in Guzzle, when you go to the mobile version, it redirects to the home page. In general, I'm looking for fresh ideas. In the search engines I have already read everything that is possible .. Maybe I'm looking in the wrong place.
UPD: Excerpt from documentation:
If your application uses direct authorization, an additional file field is returned containing a link to the video file (if the video is hosted on the VKontakte server) or a link to an external resource (if the video is embedded from some video hosting).
Answer the question
In order to leave comments, you need to log in
The video.get API method returns a direct link to the video relevant for the current IP. After receiving it from it and download it.
To download videos, you can use the bot: https://t.me/VkDownloadVideoBot
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question