fd10e69ed00ef3a59c1fca5e3073668539be9be4
VK music downloader
Warning! This program requires session cookies manually provided from external sites. These cookies contain sensitive authentication tokens that could allow access to your accounts. Never share your cookies with untrusted parties. Use this tool at your own risk.
Usage
Fill in config.sample.json and rename it to config.json. You can acquire required data from network tab in browser developer tools:
- Open developer tools.
- Start playing any song.
- Filter by
get_audio_ids_by_source(foraudio_list_payload) andreload_audios(foraudio_data_payload). - RMB -> copy -> copy as fetch (node.js).
- Paste arguments (payload) into config file.
vk_idmay be acquired from main audio page url:https://vk.com/audios<vk_id>.
Then just run:
python main.py
Known issues
- It may (and likely will) fail on Windows:
.m3u8files use URL-compatible names for partials, likeseg-00?siren=1. Use Unix or WSL. - Script does not handle errors. Use shell loops.
Languages
Python
74.7%
JavaScript
17.4%
Jupyter Notebook
7.9%