Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.48 KB

README.md

File metadata and controls

44 lines (35 loc) · 1.48 KB

YouTube Downloader

Description

YouTube Downloader is a Python script that allows you to easily download YouTube videos and playlists. It utilizes the Pytube library to fetch video and audio streams from YouTube and provides options to select video resolution or download only the audio.

Features

  • Download single YouTube videos by providing the video URL.
  • Download entire YouTube playlists by providing the playlist URL.
  • Choose video resolution for downloads.
  • Download only the audio of a video.

Requirements

  • Python 3.x
  • Pytube library (pip install pytube)

Usage

  1. Clone the repository or download the ytdown.py script.
  2. Install the Pytube library if you haven't already: pip install pytube.
  3. Run the script by executing ytdown.py`.
  4. Follow the on-screen instructions to download videos or playlists.

Usage Examples

Downloading a Single Video

Enter 'V' for single video, 'A' for audio, or 'P' for playlist: V
Enter link of YouTube Video: [paste video URL here]

Downloading Only Audio

Enter 'V' for single video, 'A' for audio, or 'P' for playlist: A
Enter link of YouTube Video: [paste video URL here]

Downloading a Playlist

Enter 'V' for single video, 'A' for audio, or 'P' for playlist: P
Enter link of YouTube Playlist: [paste playlist URL here]

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

👾 HAPPY CODING !!