Download all songs from the command line
The script downloads MP3 files one at a time, from the newest song to the first. Run it directly in the folder where you want to save the music. If your internet connection or terminal window stops, simply run the same command again: completed files with the correct size will be skipped.
2.36 GB
5.46 GB
Windows: step-by-step guide
- Create or open the folder where you want to save the MP3 files. Complete every step below inside this folder. You can use your Music folder or any folder on another drive.
- Open a terminal in this folder. In File Explorer, click the folder path at the top, type
powershell, then press Enter. This works in Windows 8, 8.1, 10 and 11. If a normal black window showingC:\...>opens instead, that is also fine: the commands below work there too. - Make sure the correct folder is open. To the left of the
>sign, you should see the path to your chosen folder, for exampleC:\Users\Win Pro\Music\ru-vodka>. This means MP3 files will be saved there. - Choose the yellow quality panel below. Copy one whole command, paste it into the window and press Enter. It downloads the script and begins downloading songs immediately.
In Windows 11: right-click an empty area of the folder and choose Open in Terminal.
In Windows 8 / 8.1: in File Explorer choose File - Open Windows PowerShell. A normal cmd window works too.
Which songs should be downloaded
Optional: leave both fields empty to download every song. To get only newer songs, enter the number to start from and the number to end at. Downloads always run in reverse order: from the higher number to the lower number. If you enter them the other way around, the script swaps them automatically.
Choose MP3 quality
Open PowerShell, Windows Terminal or a regular black cmd window directly in the folder where you want to save the music. The script puts MP3 files in that current folder. Two source qualities are available: 128 and 320 kbps.
Windows
powershell -NoProfile -ExecutionPolicy Bypass -Command "$ErrorActionPreference = 'Stop'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://ru.vodka/downloads/ru-vodka-download.ps1' -OutFile 'ru-vodka-download.ps1'; & '.\ru-vodka-download.ps1' -Quality 320"Linux
curl -fsSLo ru-vodka-download.py https://ru.vodka/downloads/ru-vodka-download.py && python3 ru-vodka-download.py --quality 320Windows
powershell -NoProfile -ExecutionPolicy Bypass -Command "$ErrorActionPreference = 'Stop'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://ru.vodka/downloads/ru-vodka-download.ps1' -OutFile 'ru-vodka-download.ps1'; & '.\ru-vodka-download.ps1' -Quality 128"Linux
curl -fsSLo ru-vodka-download.py https://ru.vodka/downloads/ru-vodka-download.py && python3 ru-vodka-download.py --quality 128If downloading stops, run the command from the selected panel again. Files with the correct size will be skipped.
How it works
What the script uses
The scripts get a track list from the public API, beginning with the highest track number, and check the size of every completed MP3 before downloading. An unfinished file is written as .part first, then renamed to its final MP3 name after the size check.
Can this script harm my computer?
.part file is used only for an unfinished download.