Vk Media Downloader

Download music, video from vk.com (Vkontakte) without any external service

As of 2020-10-16 21:18:52 UTC. See the latest version.

0 0 0
Applies to

Vk Media Downloader

Download music and video from vk.com without any external service



The advantages of this script:

  • this is open source project
  • works without any external service
  • download video from thumb - no need to open a video to download it
  • this script can work even without GM API - if you want you can disable all @grant metadata and the script still would work


  • Alt+R - Restart script - usefull if the download button doesn't appear in some pages
  • Alt+L - Save log file - needed for debugging the script


To open settings modal click on VkMD button on left side bar or profile menu on top-right corner

Settings modal

Important notes

Starting from version v2.1.0 it is available to download *.ts fragments of HLS playlist archived into a *.zip file:

- source/stream.001.ts
- source/stream.002.ts
- source/*.ts
- generate.mp3.bat
- generate.mp3.sh
- README.txt
- %filename%.txt

Why is it needed?

VK now uses HLS (Http Live Streaming) instead of mp3. HLS consists of *.ts fragments. So in a new version v2.1.0 I have added *.ts downloader. One should use ffmpeg to convert *.ts fragments into a single *.mp3 file. For this purpose I've created scripts (bat - for Windows, sh - for Linux, MacOS) generate.mp3.bat, and generate.mp3.sh, they are included in a downloaded *.zip file

How to convert *.ts fragments into *.mp3 ?

  • install ffmpeg if you haven't done it yet (google helps you)
  • unzip downloaded *.zip file
  • run generate.mp3.[bat|sh], P.S. before you run the shell script make it executable: chmod +x generate.mp3.sh

If there are any errors or the script doesn't work correctly

  1. press Alt+L to save log file
  2. upload log file here https://greasyfork.org/en/scripts/38614-vk-media-downloader/feedback along with a description of the problem

Hotkeys for Aria2 users

  • Alt+A - get links of all music and video files on current page
  • Alt+S - save text file with received links


Sponsor this project by yandex wallet