This is a simple Python application that allows you to download YouTube videos or audio in MP3 format. The application provides a graphical user interface (GUI) built with tkinter
, making it easy to use.
yt-dlp
librarytkinter
(included with Python)Clone the repository:
git clone https://github.com/your-username/YT-DOW.git
Navigate to the project directory:
cd YT-DOW
Install the required Python packages:
pip install yt-dlp
Run the application:
python main.py
Enter the YouTube video URL in the text field.
Choose the download type (Video or Audio) by selecting the appropriate option.
Click the "Download" button to start the download process.
The downloaded files will be saved in the downloads
folder in the project directory.
View downloaded files in the listbox. You can double-click on a file to open the folder where it is saved.
yt-dlp
for downloading YouTube content.ffmpeg
, which needs to be installed on your system for audio downloads to work correctly.To convert this Python application to a standalone .exe
file for Windows, you can use PyInstaller
.
Install PyInstaller:
pip install pyinstaller
Navigate to the project directory and run the following command:
pyinstaller --onefile --windowed main.py
--onefile
: Packages everything into a single .exe
file.--windowed
: Hides the command line console, showing only the GUI.The generated .exe
file will be located in the dist
folder.
You can now use this .exe
file on other Windows computers.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
For any questions or suggestions, feel free to contact me at [email protected].