Skip to content

YouTube Downloader: A simple Python script to download YouTube videos in the highest resolution using the pytube library. Easy to use and lightweight.

License

Notifications You must be signed in to change notification settings

shuchijahan/yt-downlaoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Downloader

A simple Python script that allows you to download YouTube videos using the pytube library. This project is designed to help users easily download YouTube videos by providing the video URL.

Features

  • Downloads the highest resolution available for the video.
  • Simple and easy-to-use Python script.
  • Uses the pytube library to handle video downloading.

Prerequisites

To use this script, you need to have Python 3 installed on your system. You also need to install the required dependencies, which are listed in the requirements.txt file.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/yourusername/youtube-downloader.git
    cd youtube-downloader
  2. (Optional) Create and activate a virtual environment (recommended):

    Windows:

    python -m venv venv
    venv\Scripts\activate

    macOS/Linux:

    python3 -m venv venv
    source venv/bin/activate
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Run the script:

    python youtube_downloader.py
  2. When prompted, paste the URL of the YouTube video you wish to download.

  3. The video will be downloaded to the current directory by default.

Example:

Enter the YouTube video URL: https://www.youtube.com/watch?v=abcd1234
Downloading: Example Video Title
Download completed! Video saved to: ./

Contributing

If you'd like to contribute to this project, feel free to fork the repository and submit a pull request. Please make sure to write tests and documentation for any new features or bug fixes.

About

YouTube Downloader: A simple Python script to download YouTube videos in the highest resolution using the pytube library. Easy to use and lightweight.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages