H
H
hetsketch2017-03-02 10:56:55
Parsing
hetsketch, 2017-03-02 10:56:55

How to pull the song link from the VK audio page?

The bottom line is this: The music API in VK was closed, I want to write my own parser that will pull out all the data about audio recordings on my page. But the problem is that I can't seem to find a link to the mp3 file itself. Maybe someone has ideas? Here is a screenshot of the markup for one entry: 28b7f94dd6a0475bae719c5f467c687e.jpg
And here is the link I found in the developer tools in the network tab:

https://cs1-38v4.vk-cdn.net/p9/812d4f95c7b1e1.mp3?extra=-KS6AS8pY9FdIc7ICwS55DpegdGDwf95Ak_vNYY8J4G-H4gn71bzBD8ejVEFTkSIk_6FvkAgAAa9s-XnlVeS_TDgbXaC191a1RiC_Upgv4uaB5qb-U8k4loT3PXFIknq-Fo3yQSr8pFW

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TomasHuk, 2017-03-02
@TomasHuk

There have been similar questions recently.
Maybe it will help - once or twice .

S
SomeDude, 2017-03-02
@SomeDude

Pretend to be an official application for vk, 100% works. You can also look at such a thing as vk-cli, local developers have also solved this problem. I suspect they just followed the advice above.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question