Skip to content

Darlysson10/YoutubeDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 

Repository files navigation

YouTube Video Downloader

This is a Streamlit application for downloading YouTube videos. It allows you to download videos from YouTube by providing a text file with the video links.

Prerequisites

Make sure you have the following library installed:

  • Streamlit

You can install it by running the following command:

pip install streamlit

How to run the application

  1. Clone this repository.

  2. In the directory where the youtube.py file is located, open the terminal or command prompt.

  3. Run the following command to start the application:

streamlit run youtube.py
  1. The application will open in your default browser.

How to use the application

  1. After opening the application in the browser, you will see a title and a description instructing you to upload a text file containing the YouTube video links to initiate the download.

  2. Click on the "Select a text file" button to upload the text file. Make sure the text file contains one video link per line.

  3. After selecting the text file, you will be prompted to provide the path where the files will be saved, if eu check "I'm running locally" box. Enter the full path of the directory where you want to save the downloaded videos. Make sure the path is valid and exists.

  4. After selecting the text file and providing the destination path, the video download or link generation will start automatically. The progress will be displayed in the application, indicating the current video number and the total number of videos to be downloaded.

  5. Once all the videos are downloaded, a success message will be displayed.

Notes

  • The application was developed using the streamlit library to create the interface.

  • In case of errors during the download, an error message will be displayed in the application with information about the encountered problem.

  • You can install the pytube library through pip, but an error occurrs when you try to download. See the following link for more details:

https://stackoverflow.com/questions/76325815/pytube-error-while-running-in-google-colab/76330331#76330331

Online link

https://darlysson10-youtubedownloader-youtube-wj6av2.streamlit.app/

About

A simple youtube video downloader that I made for myself but decided to publish it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages