Modern YouTube downloader with a clean PySide6 interface.
Project description
A modern YouTube downloader with a clean PySide6 interface.
Download videos in any quality, extract audio, fetch subtitles, and more.
๐ README Languages
English: EN | ุงูุนุฑุจูุฉ: AR | Deutsch: DE | Espaรฑol: ES | Franรงais: FR | เคนเคฟเคจเฅเคฆเฅ: HI | Bahasa Indonesia: ID | Italiano: IT | ๆฅๆฌ่ช: JA | Polski: PL | Portuguรชs: PT | ะ ัััะบะธะน: RU | Tรผrkรงe: TR | ไธญๆ: ZH
Installation โข Features โข Usage โข Screenshots โข Troubleshooting โข Sponsor โข Contributing
โ Why YTSage?
YTSage is designed for users who want a simple yet powerful YouTube downloader. Unlike other tools, it offers:
- A clean, modern PySide6 interface
- One-click downloads for video, audio, and subtitles
- Advanced features like SponsorBlock, subtitle merging, and playlist selection
- Optional Generic Mode for yt-dlp-supported sites beyond YouTube
- Cross-platform support and easy installation
โจ Features
| Core Features | Advanced Features | Extra Features |
|---|---|---|
| ๐ฅ Format Table | ๐ซ SponsorBlock Integration | ๐๏ธ FPS/HDR Display |
| ๐ต Audio Extraction | ๐ Multi-Subtitle Select & Merge | ๐ Auto-Update yt-dlp |
| โจ Simple UI | ๐พ Save Description & Thumbnail | ๐ ๏ธ FFmpeg/yt-dlp/Deno Detection |
| ๐ Playlist Support & Selector | ๐ Speed Limiter | โ๏ธ Custom Commands |
| ๐ Embed Chapters | โ๏ธ Trim Video Sections | ๐ช Login with Cookies |
| ๐ Download History | ๐ Release Channel Selection | ๐ Proxy Support |
| ๐๏ธ Audio Format Conversion | ๐ฌ Video Format Settings | ๐ Built-in Updater Tab |
| ๐ Generic Mode | ๐ Audio Normalization (EBU R128) | ๐ Localization in 14 Languages |
๐ Installation
โก Quick Install (Recommended)
Install YTSage from PyPI:
pip install ytsage
๐ Update an existing installation
pip install --upgrade ytsage
Then launch the app:
ytsage
๐ฆ Pre-built Executables
๐ช Windows
| Format | Description |
|---|---|
| Standard installer | |
| With FFmpeg bundled | |
| Portable version, no installation required | |
| Portable with FFmpeg, zipped |
๐ ๏ธ Installation Steps
- EXE Installer (
.exe): Double-click the file and follow the setup wizard. - Portable Version (
.zip): Extract the archive to your desired location and runytsage.exe. - FFmpeg Bundled: Choose the FFmpeg bundled versions if you don't have FFmpeg installed on your system.
๐ง Linux
| Format | Description |
|---|---|
| Debian package | |
| AppImage, portable | |
| RPM package | |
| Flatpak Bundle |
๐ ๏ธ Installation Steps
- DEB (
.deb):sudo dpkg -i ytsage_*.deb sudo apt-get install -f # Fix missing dependencies if any
- RPM (
.rpm):sudo rpm -i ytsage-*.rpm
- AppImage (
.AppImage):chmod +x YTSage-*.AppImage ./YTSage-*.AppImage
- Flatpak: Follow instructions on Flathub or run:
flatpak install flathub io.github.oop7.ytsage
๐ macOS
| Format | Description |
|---|---|
| Zipped application for Apple Silicon | |
| Disk image installer for Apple Silicon |
๐ ๏ธ Installation Steps
- DMG Installer (
.dmg): Double-click to mount, then dragYTSage.appinto your Applications folder. - App Archive (
.zip): Extract the zip and moveYTSage.appto your Applications folder.
Note: If you encounter an "App is damaged" error, see the macOS troubleshooting section below.
๐ป Manual Installation from Source
1. Clone the Repository
git clone https://github.com/oop7/YTSage.git
cd YTSage
2. Install Dependencies
โก With uv
uv pip install .
๐ฆ Or with standard pip
pip install .
3. Run the Application
python -m ytsage.main
๐ธ Screenshots
| Download Settings | Playlist Download |
| Audio Format | Custom Options |
๐ Usage
๐ฏ Basic Usage
- Launch YTSage
- Paste YouTube URL (or use "Paste URL" button)
- Click "Analyze"
- Select Format:
Videofor video downloadsAudio Onlyfor audio extraction
- Choose Options:
- Enable subtitles & select language
- Enable subtitle merge
- Save thumbnail
- Remove sponsor segments
- Save description
- Embed chapters
- Select Output Directory
- Click "Download"
๐ก The default download directory is the user's "Downloads" folder.
๐ Playlist Download
- Paste Playlist URL
- Click "Analyze"
- Select videos from the playlist selector (optional, defaults to all)
- Choose desired format/quality
- Click "Download"
๐ก The application automatically handles the download queue
๐ Generic Mode for non-YouTube sites
Use Generic Mode when you want YTSage to accept URLs from sites supported by yt-dlp, such as Dailymotion, CBC Gem, TikTok, and others.
How to use it:
- Open
Download Settings. - Enable
Generic Mode. - Paste a supported non-YouTube video or playlist URL.
- Click
Analyze. - Choose a format and download as usual.
Notes:
- Generic Mode only changes URL validation inside YTSage. The target site must still be supported by your installed yt-dlp version.
- Some sites require cookies, a login session, a proxy, or extra yt-dlp arguments depending on the extractor.
- If a site fails, update yt-dlp first from the built-in updater tab before reporting the issue.
๐งฐ Media and Download Options
- Subtitle Options: Filter languages and embed subtitles into the video file
- Subtitle Merge: Merge subtitles into the video file for hardcoded subtitles
- Save Description: Save the video description as a text file
- Save Thumbnail: Save the video thumbnail as an image file
- Embed Chapters: Embed chapter markers as metadata for compatible video players
- Remove Sponsor Segments: Remove sponsor segments from the video using SponsorBlock
- Trim Video: Download only specific parts of a video by specifying time ranges in
HH:MM:SSformat
โ๏ธ Output and File Settings
- Speed Limiter: Limit the download speed, for example
500Kfor 500 KB/s - Save Download Path: Save the default download path for future downloads. Available in Download Settings โ Download Path.
- Output Filename Format: Customize the output filename format using variables like
%(title)s,%(uploader)s, and%(resolution)s. Available in Download Settings โ Filename Format. - Force Output Format: Force video downloads into a specific container format such as
mp4,webm, ormkv. Available in Download Settings โ Output Format Settings. - Audio Format Conversion: Convert audio-only downloads to preferred formats such as
AAC,MP3,FLAC,WAV,Opus,M4A,Vorbis, orBest. Available in Download Settings โ Audio Format Settings. - Audio Normalization: Standardize volume for audio-only downloads using EBU R128.
๐ Access and Network
- Login with Cookies: Login to YouTube using cookies to access private content.
How to use it:
- Recommended: Use the built-in
Extract cookies from browseroption in the app, then select your browser and optionally a profile. - Alternatively, extract cookies manually:
a. Export cookies from your browser using an extension like cookie-editor
b. Copy the cookies in Netscape format
c. Create a file named
cookies.txtand paste the cookies into it d. Select thecookies.txtfile in the app
- Recommended: Use the built-in
- Proxy Support: Use a proxy server for downloads, for example
http://<proxy-server>:<port> - Generic Mode: Allow YTSage to analyze and download from non-YouTube sites supported by yt-dlp. Enable it from Download Settings โ Generic Mode.
๐ ๏ธ Tools and Maintenance
- Custom Commands: Access advanced yt-dlp features via command line arguments
- Updater Tab: Manage built-in update tools from one place in Custom Options:
- yt-dlp Updates: Check for updates and switch between Stable and Nightly release channels
- FFmpeg Version Checker: Check your FFmpeg version and open installation guides
- Deno Updates: Check and update the Deno runtime
- FFmpeg/yt-dlp/Deno Detection: Automatically detect FFmpeg, yt-dlp, and Deno paths and versions from the About dialog.
- Download History: View past downloads with thumbnails and statuses from the History button.
๐ Localization
YTSage supports 14 languages for worldwide accessibility. Select your preferred language from Custom Options โ Language.
Supported Languages
| Language | Code | Language | Code |
|---|---|---|---|
| ๐บ๐ธ English | en |
๐ช๐ธ Spanish | es |
| ๐ธ๐ฆ Arabic | ar |
๐ซ๐ท French | fr |
| ๐ฉ๐ช German | de |
๐ฎ๐ณ Hindi | hi |
| ๐ฎ๐ฉ Indonesian | id |
๐ฎ๐น Italian | it |
| ๐ฏ๐ต Japanese | ja |
๐ต๐ฑ Polish | pl |
| ๐ง๐ท Portuguese | pt |
๐ท๐บ Russian | ru |
| ๐น๐ท Turkish | tr |
๐จ๐ณ Chinese | zh |
README Translations
| Language | File | Language | File |
|---|---|---|---|
| ๐บ๐ธ English | README.md | ๐ช๐ธ Spanish | README.es.md |
| ๐ธ๐ฆ Arabic | README.ar.md | ๐ซ๐ท French | README.fr.md |
| ๐ฉ๐ช German | README.de.md | ๐ฎ๐ณ Hindi | README.hi.md |
| ๐ฎ๐ฉ Indonesian | README.id.md | ๐ฎ๐น Italian | README.it.md |
| ๐ฏ๐ต Japanese | README.ja.md | ๐ต๐ฑ Polish | README.pl.md |
| ๐ง๐ท Portuguese | README.pt.md | ๐ท๐บ Russian | README.ru.md |
| ๐น๐ท Turkish | README.tr.md | ๐จ๐ณ Chinese | README.zh.md |
๐ก Want to contribute a translation? Check out the Contributing section to help us add more languages!
๐ ๏ธ Troubleshooting
Click to view common issues and solutions
- Format table not displaying: Update yt-dlp to the latest version, and switch to yt-dlp nightly.
- Download fails: Check your internet connection and ensure the video is available.
- Specific download errors:
- Private videos: Use cookie authentication to access private content.
- Age-restricted content: Login to YouTube account to view age-restricted videos.
- Geo-blocked videos: Consider using a VPN to bypass regional restrictions.
- Removed/deleted videos: Video is no longer available on YouTube.
- Live streams: Live streams cannot be downloaded; wait for the stream to end.
- Network errors: Check your internet connection and try again.
- Invalid URLs: Ensure the URL is correct and from a supported platform.
- Premium content: Requires YouTube Premium membership.
- Copyright blocks: Content is blocked due to copyright restrictions.
- Separate video and audio files after download: This happens when FFmpeg is missing or not detected. YTSage requires FFmpeg to merge high-quality video and audio streams.
- Solution: Ensure FFmpeg is installed and accessible in your system's PATH. For Windows users, the easiest option is to download the
YTSage-v<version>-ffmpeg.exefile, which comes bundled with FFmpeg.
- Solution: Ensure FFmpeg is installed and accessible in your system's PATH. For Windows users, the easiest option is to download the
๐ก๏ธ Windows Defender / Antivirus Warning
Some antivirus software may flag the .exe files as false positives. This is a known limitation of packaged applications.
Why this happens:
- Antivirus heuristics can misidentify packed executables as suspicious
Safe alternatives:
- โ
Use pip installation:
pip install ytsage(recommended) - โ Build from source: by following this guide
- โ Whitelist the application in your antivirus software
๐ macOS: "App is damaged and canโt be opened"
If you see this error on macOS Sonoma or newer, you need to remove the quarantine attribute.
- Open Terminal (you can find it using Spotlight).
- Type the following command but do not press Enter yet. Make sure to include the space at the end:
xattr -d com.apple.quarantine
- Drag the
YTSage.appfile from your Finder window and drop it directly into the Terminal window. This will automatically paste the correct file path. - Press Enter to run the command.
- Try opening YTSage.app again. It should now launch correctly.
Configuration Locations (Advanced)
- Windows:
%LOCALAPPDATA%\YTSage - macOS:
~/Library/Application Support/YTSage - Linux:
~/.local/share/YTSage
๐ Sponsor
If YTSage saves you time, consider sponsoring the project. Sponsorship helps cover development time, testing across platforms, and future improvements.
- GitHub Sponsors: https://github.com/sponsors/oop7
- The sponsor link is also available directly inside the app from the About dialog.
๐ฅ Contributing
We welcome contributions! Here's how you can help:
- ๐ด Fork the repository
- ๐ฟ Create your feature branch:
git checkout -b feature/AmazingFeature
- ๐พ Commit your changes:
git commit -m 'Add some AmazingFeature'
- ๐ค Push to the branch:
git push origin feature/AmazingFeature
- ๐ Open a Pull Request
๐ Contributing Translations
- Update the matching localized README file (for example
readme-translations/README.es.md) - Keep app strings in sync by editing
ytsage/languages/<code>.json - If your language is missing, start from
README.mdand createREADME.<code>.md
๐ Project Structure
YTSage - Project Structure
This document describes the organized folder structure of YTSage.
๐ Project Structure
YTSage/
โโโ ๐ .github/ # GitHub configuration
โ โโโ ๐ ISSUE_TEMPLATE/ # Issue templates
โ โ โโโ ๐-bug-report.md # Bug report template
โ โโโโ ๐ workflows/ # GitHub Actions workflows
โ โ โโโ build-linux.yml # Linux build workflow
โ โ โโโ build-macos.yml # macOS build workflow
โ โ โโโ build-windows.yml # Windows build workflow
| | โโโ release-all.yml # Master release workflow
โ โโโ ๐ CI_CD_README.md # CI/CD documentation
โโโ ๐ branding/ # Branding assets (Screenshots, SVGs)
โ โโโ ๐ icons/ # Application icons
โ โโโ ๐ screenshots/ # Screenshots for documentation
โ โโโ ๐ svg/ # SVG assets
โโโ ๐ LICENSE # License file
โโโ ๐ pyproject.toml # Project metadata and dependencies
โโโ ๐ README.md # Project documentation
โโโ ๐ requirements.txt # Python dependencies (dev)
โโโ ๐ ytsage/ # Source package
โโโ ๐ assets/ # Runtime assets
โ โโโ ๐ Icon/ # Application icons
โ โโโ ๐ sound/ # Audio files
โโโ ๐ languages/ # Localization files
โ โโโ ๐ ar.json # Arabic translation
โ โโโ ๐ de.json # German translation
โ โโโ ๐ en.json # English translation
โ โโโ ... # Other languages
โโโ ๐ core/ # Core business logic
โ โโโ ๐ __init__.py # Core package init
โ โโโ ๐ ytsage_deno.py # Deno integration
โ โโโ ๐ ytsage_downloader.py # Download functionality
โ โโโ ๐ ytsage_ffmpeg.py # FFmpeg integration
โ โโโ ๐ ytsage_utils.py # Utility functions
โ โโโ ๐ ytsage_yt_dlp.py # yt-dlp integration
โโโ ๐ gui/ # User interface components
โ โโโ ๐ __init__.py # GUI package init
โ โโโ ๐ ytsage_gui_main.py # Main application window
โ โโโ ๐ ytsage_gui_dialogs/ # Dialog classes
โโโ ๐ utils/ # Utility modules
โ โโโ ๐ __init__.py # Utils package init
โ โโโ ๐ ytsage_config_manager.py # Configuration management
โ โโโ ๐ ytsage_logger.py # Logging utilities
โโโ ๐ __init__.py # Package entry point
โโโ ๐ main.py # Main execution script
โญ๏ธ Star History
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
Show Acknowledgments
A heartfelt thank you to everyone who has contributed to this project by opening an issue to suggest an improvement or report a bug.
| Core Components | |
|---|---|
| yt-dlp | Download Engine |
| FFmpeg | Media Processing |
| Deno | Runtime for integration with yt-dlp |
| Libraries & Frameworks | |
| PySide6 | GUI Framework |
| Pillow | Image Processing |
| requests | HTTP Requests |
| packaging | Version & Package Handling |
| markdown | Markdown Rendering |
| loguru | Logging |
| Assets & Contributors | |
| New Notification 09 by Universfield | Notification Sound |
| viru185 | Code Contributor |
โ ๏ธ Disclaimer
This tool is for personal use only. Please respect YouTube's terms of service and content creators' rights.
Made with โค๏ธ by oop7
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ytsage-5.0.3.tar.gz.
File metadata
- Download URL: ytsage-5.0.3.tar.gz
- Upload date:
- Size: 323.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1411e0969e96d3410e65163ee937d7e2a5763f784a6f24e8b8260ffdda740c35
|
|
| MD5 |
e7e631ee8d1b166840446be428ae3be5
|
|
| BLAKE2b-256 |
9253f906034faaa33ff62d67519e162ea260d48c8d15c526cc19b8182f6cec69
|
File details
Details for the file ytsage-5.0.3-py3-none-any.whl.
File metadata
- Download URL: ytsage-5.0.3-py3-none-any.whl
- Upload date:
- Size: 333.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f6fbed0ff82b6d4eb52bcb52fd352fd943d20f5bd66f728d16d161beab91d8d
|
|
| MD5 |
4dc0b0cd432d52afd0b06421f2c563ad
|
|
| BLAKE2b-256 |
934462ddf7e243a0d4ac6171a578b872c9df2812d8b92c31f286470b93a8a08b
|