The code has been reworked to use yt-dlp, downloading open videos is available again. The download_video function runs in a separate thread, which allows the main program thread to update the state of the interface. During the download process, the current information is displayed in the interface.
It is possible to use a script to download videos from services such as: vk.com, rutube.ru, youtube.com and etc. Tested by users, you can read more in the discussion
Script in python 3, with a graphical interface, for downloading videos from the vk.com service
Download the archive with the latest version and unpack it to any place convenient for you;
Install the necessary components and dependencies if necessary;
Run the file (script) vk_video_download.py ;
In the window that appears, paste the link to the video into the input field and click the Download video button;
If the download is successful, a notification will appear and the video will be saved in the downloads folder
The link should be like: https://vk.com/video-100000000_100000000
You most likely have the Russian keyboard layout enabled, switch to English.
The bug is related to ongoing processes in the background, will be resolved in the future
This is a feature of the work; at this time, downloading is going on in the background; after the download is complete, the script will hang.
The video is either closed for access to outsiders or has a format/source not supported by yt-dlp
Rename to .mp4? usually this is enough to solve the problem
To the downloads directory, located in the same place where your script vk_video_download.py is located
vk_video_download.py - script for downloading videos from vk.com
theme - Folder with a design theme (styles, icon, etc.)
requirements.txt - Dependencies
Command to install required components
pip install -r requirements.txt
Or a separate installation of yt-dlp
python3 -m pip install -U yt-dlp
Command to build exe file in pyinstaller:
pyinstaller vk_video_download.py --noconsole --onefile --icon=icon.ico
Or you can use GUI for Pyinstaller based on Tkinker
The script has only been tested on Windows using Python version 3.10.2
GUI for Pyinstaller based on Tkinker
yt-dlp Installation
yt-dlp Manual
Requests manual
Tkinker theme: Sun-Valley - rdbende
Tkinker theme: Spring-Noon - blyamur
Not for commercial use.
Thanks for reading?
Thanks for reading!
Happy to hear that :) If You want to help me, you can buy me a cup of coffee ☕ ( yoomoney or ko-fi, boosty.to )
Glad to hear it :) If you want to help me, you can buy me a cup of coffee
© 2024 From Russia with ❤