YouTube Playlist Analyzer¶
YouTube Playlist Analyzer is a web application designed to help you gain insights into your YouTube playlists. With this tool, you can analyze playlists to determine the number of videos, total duration, and playback speed adjustments, all presented with interactive charts to help you visualize the data effectively.
Explore it live here:
Features¶
- Extract and analyze YouTube playlist information
- Calculate the total duration of playlists
- Estimate watching time at different playback speeds
- User-friendly web interface
Prerequisites¶
- Python 3.12
- YouTube Data API key
- Docker (optional)
Setup¶
Local Development¶
-
Clone the repository:
-
Create a virtual environment:
-
Activate the virtual environment:
- On Windows:
- On macOS/Linux:
-
Create a
Then, open the.env
file with your YouTube API key:.env
file and add your YouTube API key: -
Install dependencies:
-
Run the application:
or
Docker Deployment¶
-
Build the Docker image:
-
Run the container:
Usage¶
- Access the application at
http://localhost:5000
. - Enter a YouTube playlist URL.
- View the analysis results, including:
- Total number of videos
- Average video length
- Total playlist duration
- Estimated watching time at different speeds
Documentation¶
Documentation is built using MkDocs. To view the documentation locally:
You can also view the documentation online at: https://805karansaini.github.io/youtube_playlist_analyser/