Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

AlbertSolomon/tubepy

Repository files navigation

TUBEPY


A simple desktop Youtube video downloader in python.

Version 1

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.

Installation

To install Tubepy, follow the steps below:

  1. Make sure you have Python 3.10.8 or higher installed on your machine.
  2. Clone or fork the project from the GitHub repository.
  3. Create a virtual environment in the root directory of the project. You can find more information about virtual environments here.
  4. Activate the virtual environment and run the following command to install the required dependencies:
    pip install -r requirements.txt 
  1. 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.

fedora

    sudo dnf install python3-tkinter

Ubuntu

    sudo apt-get install python3-tk

Building Binaries

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.

Installer Script

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!

Contributions

For more information on how to contribute please read the CONTRIBUTIONS.md file.

Screenshots

Home page Home Page

About page About Page

Demo

Demo

Troubleshooting

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! 🍾.

Back to top

Alert (this is code debt, hence this code base is being archived