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.
- 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.
- Python 3.x
- Pytube library (
pip install pytube
)
- Clone the repository or download the
ytdown.py
script. - Install the Pytube library if you haven't already:
pip install pytube
. - Run the script by executing ytdown.py`.
- Follow the on-screen instructions to download videos or playlists.
Enter 'V' for single video, 'A' for audio, or 'P' for playlist: V
Enter link of YouTube Video: [paste video URL here]
Enter 'V' for single video, 'A' for audio, or 'P' for playlist: A
Enter link of YouTube Video: [paste video URL here]
Enter 'V' for single video, 'A' for audio, or 'P' for playlist: P
Enter link of YouTube Playlist: [paste playlist URL here]
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 !!