A cross platform front-end GUI of the popular youtube-dl media downloader written in wxPython. Supported sites
You can download the program for free from the Microsoft Store and take advantage of its features like background auto-updates.
pwsh
winget install -e --id yt-dlg.yt-dlg
Note The latest version compatible with Python 3.6.1 is yt-dlg v1.8.2
In Windows we have the following options: - Use theΒ Dev Container configuration file - Windows Development Environment - Set up a WSL development environment
In GNU/Linux install make
. Ubuntu:
bash
sudo apt install make
bash
make clean-requirements
make venv
bash
source venv/bin/activate
bash
make install
Create binaries using PyInstaller
* Install requirements, build translations and create binaries
bash
make pyinstaller
bash
source venv/bin/activate
yt-dlg
Note The default CLI Backend is
yt-dlp
you can change toyoutube-dl
CLI Backend in:Settings -> Options -> Extra and change/select
youtube-dl
Install the following packages and their dependences:
bash
sudo apt-get update
sudo apt-get install -y apt-utils build-essential dpkg-dev \
freeglut3 freeglut3-dev libgl1-mesa-dev libglu1-mesa-dev \
libgstreamer-plugins-base1.0-dev libgtk-3-dev libjpeg-dev \
libnotify-dev libsdl2-dev libsm-dev libtiff-dev \
libwebkit2gtk-4.0-dev libxtst-dev
bash
sudo apt-get install -y python3.9 python3.9-dev libpython3.9-dev python3.9-venv
python3.9 -m venv venv
source venv/bin/activate
python3 -m pip install --upgrade pip setuptools wheel
See Notes for install wxPython on Ubuntu
For install wxPython on Debian 11 "bullseye" download the wheel from the release:
wxPython-4.2.1a1-cp310-cp310-linux_x86_64.whl
- For install wxPython on Ubuntu 22.04.1 "jammy" download the wheel from the release:
wxPython-4.2.1a1-cp310-cp310-linux_x86_64-jammy.whl
- For install wxPython on Ubuntu 21.04 "hirsute" download the wheel from the release:
wxPython-4.1.1-cp39-cp39-linux_x86_64.whl
- For install wxPython on Ubuntu 20.04.5 "focal" download the wheel from the release:
wxPython-4.2.0-cp310-cp310-linux_x86_64.whl
- For install wxPython ManyLinux 2.28 download the wheel from the release:
bash
python3 -m pip install wxPython-4.1.1-cp39-cp39-linux_x86_64.whl
python3 -m pip install -r requirements/requirements.in
python3 -m pip install --no-deps yt-dlg
yt-dlg
bash
python3 -c "import wx ; print(wx.__version__)"
bash
locale -a
sudo dpkg-reconfigure locales
Install using zypper
bash
sudo zypper ar -cfp 90 https://download.opensuse.org/repositories/home:oleksis/openSUSE_Tumbleweed/home:oleksis.repo
sudo zypper install python38-yt-dlg
yt-dlg
The following steps can be executed if you use the Python version of the system (3.8, 3.9, 3.10)
bash
sudo zypper dup # Distribition Upgrade
sudo zypper -n update # Non Interactive
sudo zypper -n install yum-utils
bash
sudo zypper addrepo -f http://download.opensuse.org/tumbleweed/repo/oss/ openSUSE-Factory
- For install wxPython on openSUSE Tumbleweed download the wheel from the release:
Need at least one font installed
bash
sudo zypper -n install python38-wxPython google-opensans-fonts
bash
sudo zypper -n install python38-pip python38-setuptools python38-devel python38-tools python38-virtualenv python38-requests
yt-dlg
global from PyPIbash
pip3 install yt-dlg
yt-dlg
executable to the PATH and runbash
PATH=$HOME/.local/bin:$PATH
yt-dlg
--enable-framework
bash
PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.10.6
pyenv shell 3.10.6
python -m pip install -r requirements/requirements.in
pip install yt-dlg
yt-dlg
An alternative to install wxPython 4 Phoenix from the Extras section
For Ubuntu 20.04
bash
wget https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04/wxPython-4.1.1-cp38-cp38-linux_x86_64.whl
pip3 install wxPython-4.1.1-cp38-cp38-linux_x86_64.whl
Compile wxPython 4.1.2a1 using Microsoft C++ Build Tools 2019
Compile wxPython 4.1.1 using Ubuntu on Windows Community Preview
You can send me bitcoins to the following address: bc1qnlea6zlfca9fpk62pzedrh6z20w0pxn2ujslztw8t84spprlr4cqdeg8u5
See AUTHORS file
See FAQs
Thanks to everyone who contributed to this project and to @philipzae for designing the new UI layout.
If your problem is a bug with youtube-dl or a request for new site support please report it here
Make sure you are using the latest yt-dlg version (Click the Settings
icon and then About
to view the current version)
Make sure you are using the latest youtube-dl version (Click the Settings
icon and then Update
to update to the latest youtube-dl version)
Make sure you searched the bugtracker for similar issues including closed ones
Make sure to read the FAQs file
[x ] I think my problem is NOT with youtube-dl
Please remove any sections between (---) if they are not related to your issue
When download completes, the file output is correct but the GUI states .webm
On the GUI, the file extension states .webm. I assume the variable fails to update once download completes.
When downloading .Mp3 format from youtube, the app fails to update the correct file extension on the download list. The file output is correct, however the label/variable states .webm from the download list.
x
into all the boxes [ ] relevant to your issue (like that [x])All invalid issues will be rejected!!
If your problem is a bug with youtube-dl or a request for new site support please report it here
Make sure you are using the latest yt-dlg version (Click the Settings
icon and then About
to view the current version)
Make sure you are using the latest youtube-dl version (Click the Settings
icon and then Update
to update to the latest youtube-dl version)
Make sure you searched the bugtracker for similar issues including closed ones
Make sure to read the FAQs file
[ ] I think my problem is NOT with youtube-dl
Please remove any sections between (---) if they are not related to your issue
Options > Extra
tabOptions > Advanced
tab and Clear your log content2023-03-02 09:52:20,150-DEBUG-Worker_1-WARNING: [youtube] zRr3vrk_wR4: nsig extraction failed: You may experience throttling for some formats
2023-03-02 09:52:20,150-DEBUG-Worker_1- Install PhantomJS to workaround the issue. Please download it from https://phantomjs.org/download.html
2023-03-02 09:52:20,150-DEBUG-Worker_1- n = W9gqCDw97ZVCQ76i-A8 ; player = https://www.youtube.com/s/player/a897053d/player_ias.vflset/en_US/base.js
2023-03-02 09:52:20,151-DEBUG-Worker_1-ERROR: [youtube] zRr3vrk_wR4: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
2023-03-02 09:52:20,151-DEBUG-Worker_1-Child process exited with non-zero code: 1
WIndows 10
Queue a video for download
Download fails
x
into all the boxes [ ] relevant to your issue (like that [x])All invalid issues will be rejected!!
If your problem is a bug with youtube-dl or a request for new site support please report it here
Make sure you are using the latest yt-dlg version (Click the Settings
icon and then About
to view the current version)
Make sure you are using the latest youtube-dl version (Click the Settings
icon and then Update
to update to the latest youtube-dl version)
Make sure you searched the bugtracker for similar issues including closed ones
Make sure to read the FAQs file
[ ] I think my problem is NOT with youtube-dl
Please remove any sections between (---) if they are not related to your issue
Options > Extra
tabOptions > Advanced
tab and Clear your log content``` 2023-02-21 09:58:48,048-DEBUG-Worker_1-[debug] Command-line config: ['--newline', '-i', '--all-subs', '-k', '-o', "D:\The Sound Crafter Company's Official Folder\Videos\Download\Videos\%(uploader)s-%(title)s.%(ext)s", '-x', '--audio-format', 'mp3', '--audio-quality', '0', '-v', '--ignore-config', '--hls-prefer-native', 'https://youtu.be/d3NxSVj2X8g'] 2023-02-21 09:58:48,048-DEBUG-Worker_1-[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No ANSI), error cp1252 (No ANSI), screen cp1252 (No ANSI) 2023-02-21 09:58:48,048-DEBUG-Worker_1-[debug] yt-dlp version 2023.02.17 [a0a7c01] (win_exe) 2023-02-21 09:58:48,048-DEBUG-Worker_1-[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k 25 Mar 2021) 2023-02-21 09:58:48,048-DEBUG-Worker_1-[debug] exe versions: none 2023-02-21 09:58:48,048-DEBUG-Worker_1-[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4 2023-02-21 09:58:48,048-DEBUG-Worker_1-[debug] Proxy map: {} 2023-02-21 09:58:48,048-DEBUG-Worker_1-[debug] Loaded 1782 extractors 2023-02-21 09:58:48,048-DEBUG-Worker_1-[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto 2023-02-21 09:58:48,049-DEBUG-Worker_1-[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id 2023-02-21 09:58:48,049-DEBUG-Worker_1-[debug] Default format spec: best/bestvideo+bestaudio 2023-02-21 09:58:48,049-DEBUG-Worker_1-[debug] Invoking http downloader on "https://rr4---sn-qpbpu8-c0qs.googlevideo.com/videoplayback?expire=1676991526&ei=xof0Y670CYjh1wKM5rvIDA&ip=2a01%3A36d%3A115%3Ab78%3A99df%3A9d80%3Ad2b6%3Aa329&id=o-ANFY2cF_z6QCtg754K7skwPCx9WQi1Qv5JN5AYJrarXj&itag=22&source=youtube&requiressl=yes&mh=KH&mm=31%2C29&mn=sn-qpbpu8-c0qs%2Csn-c0q7lnly&ms=au%2Crdu&mv=m&mvi=4&pl=54&initcwndbps=1113750&spc=H3gIhn8UtmRKHGfx4fpmz26yPV5VO24&vprv=1&svpuc=1&mime=video%2Fmp4&ratebypass=yes&dur=337.966&lmt=1550470612064944&mt=1676969599&fvip=2&fexp=24007246&c=ANDROID&txp=2216222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAIcqLTGuTVw3KwEyOeAQUYgzmpuoXdasb8aHjuM-jjrLAiBpCaMZU-F12j23BWeeUcBIrYhQFOK3HutjqisC7QHXxA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgVFPdwiTry4ZNuTKHqAOg_5Y6BMrSNac3PwU1HqiTYUACIQD9JgccG5_S0bDOe3m63h91v9OSMiVsQXqr-5rlDuCBCA%3D%3D" 2023-02-21 09:58:48,049-DEBUG-Worker_1-[debug] File locking is not supported. Proceeding without locking 2023-02-21 09:58:48,049-DEBUG-Worker_1-ERROR: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location 2023-02-21 09:58:48,049-DEBUG-Worker_1-Traceback (most recent call last): 2023-02-21 09:58:48,049-DEBUG-Worker_1- File "yt_dlp\YoutubeDL.py", line 3446, in run_pp 2023-02-21 09:58:48,049-DEBUG-Worker_1- File "yt_dlp\postprocessor\common.py", line 24, in run 2023-02-21 09:58:48,049-DEBUG-Worker_1- File "yt_dlp\postprocessor\common.py", line 129, in wrapper 2023-02-21 09:58:48,049-DEBUG-Worker_1- File "yt_dlp\postprocessor\ffmpeg.py", line 488, in run 2023-02-21 09:58:48,050-DEBUG-Worker_1- File "yt_dlp\postprocessor\ffmpeg.py", line 241, in get_audio_codec 2023-02-21 09:58:48,050-DEBUG-Worker_1-yt_dlp.utils.PostProcessingError: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location 2023-02-21 09:58:48,050-DEBUG-Worker_1-Child process exited with non-zero code: 1
```
Download the audio file
Downloads the video itself and status shows Error
Microsoft Windows [Version 10.0.19044.2604]
x
into all the boxes [ ] relevant to your issue (like that [x])All invalid issues will be rejected!!
If your problem is a bug with youtube-dl or a request for new site support please report it here
Make sure you are using the latest yt-dlg version (Click the Settings
icon and then About
to view the current version)
Make sure you are using the latest youtube-dl version (Click the Settings
icon and then Update
to update to the latest youtube-dl version)
Make sure you searched the bugtracker for similar issues including closed ones
Make sure to read the FAQs file
[ x] I think my problem is NOT with youtube-dl
Please remove any sections between (---) if they are not related to your issue
Please make sure that the requested feature is NOT already in the TODO list
Win 10
A cli called ytmdl is a version of ytdl that includes YouTube music metadata and has other features like searching and stuff.
https://github.com/deepjyoti30/ytmdl
x
into all the boxes [ ] relevant to your issue (like that [x])All invalid issues will be rejected!!
If your problem is a bug with youtube-dl or a request for new site support please report it here
Make sure you are using the latest yt-dlg version (Click the Settings
icon and then About
to view the current version)
Make sure you are using the latest youtube-dl version (Click the Settings
icon and then Update
to update to the latest youtube-dl version)
Make sure you searched the bugtracker for similar issues including closed ones
Make sure to read the FAQs file
[ ] I think my problem is NOT with youtube-dl
Please remove any sections between (---) if they are not related to your issue
download YT video
error
I am having trouble downloading age-restricted videos on YT. How to do it?
Entering my credentials in the advanced tab does not work
also tried "--cookies /path" in extra
I'm trying to install yt-dlg from pypi, but it shows error. pip suggests the problem is with packaging. Error log below:
``` pip3 install yt-dlg Defaulting to user installation because normal site-packages is not writeable Collecting yt-dlg Using cached yt_dlg-1.8.4-py3-none-any.whl (124 kB) Collecting wxPython<=4.2.1a1,>=4.0.7.post2 Using cached wxPython-4.2.0.tar.gz (71.0 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
Γ python setup.py egg_info did not run successfully.
β exit code: 1
β°β> [8 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
Γ Encountered error while generating package metadata. β°β> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. ```
Fedora 36 KDE Plasma desktop
pip should install yt-dlg without any problems
yt-dlg fails to get installed.
python3 gui-application youtube-dl wxpython-phoenix wxpython hacktoberfest python