Pygyt developed on Ubuntu 22.04 with Python 3.10 and tested on WSL Ubuntu of the same version with WSLg available.
- Follow the steps of "Getting Started" section in PyGObject Documentation to setup Python Gtk4 environment. You may need to install additional mesa libraries and fonts to eliminate Gtk warning messages.
- Install ffmpeg for your system, e.g.
sudo apt install ffmpeg
on Ubuntu. - Clone the pygyt repository.
git clone https://github.com/twMr7/pygyt.git
- Clone the yt-dlp repository.
git clone https://github.com/yt-dlp/yt-dlp.git
- Create a symbolic link in "pygyt" folder and link to "yt_dlp" folder in the "yt-dlp" source tree.
pygyt
├── assets
│ ├── pygyt_gleaner.png
│ ├── pygyt_wink.png
│ ├── screenshot_ubuntu.png
│ └── screenshot_windows.png
├── DownloadItem.py
├── pygyt.py
├── PygytWin.py
├── README.md
├── yt_dlp -> ../yt-dlp_repo/yt_dlp
└── ytdlp_tasks.py
$ python3 pygyt.py
$ python3 pygyt.py -h
Usage:
pygyt.py [OPTION…]
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gapplication Show GApplication options
Application Options:
-d, --download-folder The folder to store download files. (default: '~/Downloads')
-a, --additional-options='OPTION ARG(s)' Append additional options for yt-dlp, multiple uses of '-a' are allowed.
Some images used in Pygyt are created with Microsoft Copilot Designer.