Git Product home page Git Product logo

dhananjayporwal / youtube-playlist-downloader Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 12.0 27.45 MB

This repository contains a Python script for downloading YouTube playlist videos using "pytube".

Home Page: https://dhananjayporwal.github.io/youtube-playlist-downloader/

Python 0.07% Tcl 99.93%
playlist-downloader python-script pytube video-downloader video-downloading youtube-downloader youtube-playlist youtube-playlist-downloader hacktoberfest-accepted hacktoberfest2023

youtube-playlist-downloader's Introduction

YouTube Playlist Downloader โœจ

youtube-playlist-downloader

This repository contains a Python script for downloading all the videos from a YouTube playlist. The script utilizes the pytube library to handle the downloading process.

Features

  • Downloads all videos from a given YouTube playlist URL.
  • Converts the playlist name into an alphanumeric folder name.
  • Displays the total number of videos in the playlist ๐ŸŽฆ.
  • Downloads each video with the highest resolution available.
  • Displays the size of each video before downloading ๐Ÿ—œ.
  • Provides progress updates during the download process.
  • Notifies when all videos have been successfully downloaded ๐ŸŽ‰.

Installation

  1. Clone the repository:

    git clone https://github.com/username/repository.git
    
  2. Change into the project directory:

    cd repository
    
  3. Install the required dependencies:

    pip install pytube
    

Usage

Command Line Interface (CLI)

  1. Run the script:

    python playlist_downloader.py
    
  2. Enter the URL of the YouTube playlist when prompted โœจ.

  3. The script will create a folder with an alphanumeric name based on the playlist title.

  4. The script will display the total number of videos in the playlist ๐ŸŽฆ.

  5. Each video will be downloaded with the highest resolution available and saved in the created folder.

  6. The script will display the size of each video before downloading ๐Ÿ—œ and provide progress updates.

  7. Once all videos have been downloaded, a success message will be displayed ๐ŸŽ‰.

Graphical User Interface (GUI)

  1. Run the executable file app.exe from Windows Executable (available only for Windows).

  2. The GUI window will open.

  3. Enter the URL of the YouTube playlist in the provided input field.

  4. Click the "Download" button.

  5. The script will create a folder with an alphanumeric name based on the playlist title within the Windows Executable directory.

  6. The script will display the total number of videos in the playlist ๐ŸŽฆ.

  7. Each video will be downloaded with the highest resolution available and saved in the created folder.

  8. The GUI will display the size of each video before downloading ๐Ÿ—œ and provide progress updates.

  9. Once all videos have been downloaded, a success message will be displayed ๐ŸŽ‰.

GUI Screenshot

Known Errors

CLI

If a folder with the same name as the playlist already exists, the script will throw an error. This is because the script tries to create a new folder with an alphanumeric name based on the playlist title to store the downloaded videos. However, if a folder with the same name already exists, the operating system will not allow the creation of another folder with the same name, resulting in an error.

To resolve this issue, you can either delete the existing folder or rename it before running the script.

GUI

In the GUI version, there might be instances where the program appears to be unresponsive or not updating while it's performing the download process. This can happen because the download process might take some time, especially for larger playlists or when downloading videos with high resolutions.

Please be patient and wait for the program to complete its job. Even if it seems unresponsive, it's still working in the background. Avoid clicking or interacting with the program during the download process to ensure a smooth operation.

Once the download process is finished, the program will display a success message, indicating that all the videos have been successfully downloaded.

youtube-playlist-downloader's People

Contributors

dhananjayporwal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

youtube-playlist-downloader's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.