Releases: vorlie/YoutubeDL
v3.1
Release Notes
Added
-
Configuration File Creation: Added logic to automatically create the configuration file if it does not exist. The application now ensures the config file is created in the same directory as the executable or script.
-
Manual Filename Option: Added an option to manually set the filename for downloads or use a custom template string. Users can now specify a filename directly in the UI, providing greater flexibility.
Updated
-
Configuration File Path Handling:
- Updated the
CONFIG_FILE_PATH
to be set relative to the executable or script directory, ensuring it is created alongside the.exe
when compiled. - Added a check to determine if the script is running as a compiled executable or as a script and adjusted the config file path accordingly.
- Commit: ac2679a
- Updated the
-
Path Normalization:
- Improved path normalization by using
os.path.normpath
to ensure paths are consistently formatted based on the operating system.
- Improved path normalization by using
-
YT-DLP Library Usage:
- Switched from depending on the
yt-dlp
executable to using theyt-dlp
library directly within the application. This change simplifies the setup process by removing the need for an external executable and integratesyt-dlp
functionality more seamlessly. - Commit: 6c0e2c5
- Switched from depending on the
-
FFmpeg Path Handling:
- Implemented a method to check if
ffmpeg
is available in the system's PATH by running theffmpeg -version
command. Ifffmpeg
is set to"ffmpeg"
in the configuration but is not found in PATH, the application now raises an appropriate exception prompting users to addffmpeg
to PATH or specify a custom path. - Commit: bd0c6b4
- Implemented a method to check if
Fixed
- Error Handling:
- Enhanced error handling in the
save_config
method to catch and print IOError exceptions if there's an issue saving the configuration file. - Fixed issues where the application could incorrectly handle FFmpeg paths, ensuring better handling of both default and custom paths.
- Enhanced error handling in the
Code Changes
-
DownloadWorker
Class:- Updated to use the
yt-dlp
library directly instead of the executable. - Added logic to handle manual filename input and custom template strings.
- Implemented
is_ffmpeg_in_path
method to check ifffmpeg
is in the PATH.
- Updated to use the
-
save_config
Method:- Updated to create necessary directories if they don't exist and handle file writing with proper encoding and error catching.
v3.0
YouTubeDL v3.0
Key Features
- Fetch Video Information: Retrieve details such as title, uploader, duration, and thumbnail.
- Download Video and Audio: Download content from supported YouTube URLs.
- Custom Configuration: Set paths for
yt-dlp
andffmpeg
binaries and manage supported sites. - Loading Indicators: Visual feedback with a loading animation during long operations.
Installation
-
Download the archive:
-
Extract the archive:
- Extract the downloaded
YouTubeDL-win64.zip
.
- Extract the downloaded
-
Run the Application:
- Open the archive that you just extracted.
- Double-click the extracted
.exe
file to start the application.
Usage
-
Fetch Video Information:
- Enter a YouTube URL and click "Fetch Info".
-
Download Video or Audio:
- Enter a YouTube URL and select "Download Video" or "Download Audio".
-
Configure Settings:
- Go to File > Configuration to set paths and manage supported sites.
-
View License Information:
- Go to File > License to view the application's license details.
Requirements
yt-dlp
andffmpeg
binaries must be available. Configure their paths in the application settings if not in the system PATH.
Thanks
Thanks to the projects and contributors that made this tool possible:
v2.1.3
Source cleanup.
Ubuntu ver: YoutubeDL-2.1.2-ubuntu-22.04.zip
v2.1.2
v2.1.1
v2.1.0
v2.0.9
Changelog
- Threaded fetching information, downloading audio and video.
- Added an option to choose a destination folder and changed the default folder to
C:\Users\~\Downloads
. - Removed console view from the app.
- It only opens during downloading. After it finishes, it closes automatically.
By threading those functions, the app no longer freezes during longer downloads!!
v2.0.8
v2.0.7
v2.0.6
Changed the method of downloading youtube videos.
- Now its using yt-dlp and ffmpeg/ffprobe (included in the .exe file)
- Downloads files directly to the folder where YoutubeDL.exe is in! Make sure to remember that.
Required if you want to use the soundcloud downloader:
- Install Python 3.12
- Install scdl
pip install scdl
- Install scdl