A simple desktop Youtube video downloader in python.
This is an application which uses the custom tkinter library to render GUI widgets and pytube library to download youtube files.
Warning Pytube often encounters compatibility issues due to YouTube's frequent updates. Regrettably, the Pytube library has some maintenance challenges, leading to delays in resolving these issues. Consequently, we are exploring the possibility of integrating youtube-dl as an alternative solution. Nevertheless, please don't hesitate to report any problems here or engage in discussions here. Your input is valuable to us or else you can refer or follow pytube issue 1786.
To install Tubepy, follow the steps below:
- Make sure you have Python 3.10.8 or higher installed on your machine.
- Clone or fork the project from the GitHub repository.
- Create a virtual environment in the root directory of the project. You can find more information about virtual environments here.
- Activate the virtual environment and run the following command to install the required dependencies:
pip install -r requirements.txt
- To run the application on Windows, execute the following command
python tubepy/setup.py
On Unix-based systems, run the command below:
python3 tubepy/setup.py
Ensure that you have tkinter
installed while working on Linux by utilizing the package manager offered by your current distribution.
sudo dnf install python3-tkinter
sudo apt-get install python3-tk
Tubepy leverages the cx_freeze library to produce binaries, which can be built by running the command below:
python setup.py build # which is present in the root directory.
Keep in mind that you might need to provide extra information or configuration options to the setup.py
file for a more personalized build process.
Before running tubepy_installer_exe_script.iss
, make sure you have Inno Setup installed. Open the script in the editor, modify the directory paths to match your project, and hit run. Happy installing!
For more information on how to contribute please read the CONTRIBUTIONS.md file.
If you face any errors while installing the software, please ensure that you have installed Python 3.10.8 or a newer version on your system and that you have correctly installed all the necessary dependencies in the requirements.txt
. If the error persists, you can raise an issue here or start a discussion in the discussion section.
Enjoy using Tubepy to download your favorite YouTube videos! πΎ.