1.0 KiB
1.0 KiB
VK music downloader
Warning! This program requires session cookies from an external site to function. Never share these cookies with anyone. By importing this data, you grant the application access to your account session. Please ensure you trust this software before proceeding.
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.