Analyze YouTube playlists and videos with ease! Get detailed information about video durations and playlist lengths. It is hosted on render.com and you can check it out here.
- 📋 Analyze multiple playlists and individual videos
- ⏱️ Calculate total duration of playlists
- 🚀 Estimate playback times at different speeds (1.25x, 1.50x, 1.75x, 2.00x)
- 🔢 Support for custom playback speeds
- 📅 View average video length in playlists
- 🔍 Analyze specific video ranges within playlists
- 📈 Asynchronous requests and caching layer to speed up processing
- Add more analytics related to the videos (like average views, likes, etc.)
-
Clone the repository:
git clone https://github.com/sharatsachin/ytplaylist-len.git cd ytplaylist-len
-
Install dependencies:
pip install -r requirements.txt
-
Set up your YouTube API key:
- Create a
.env
file in the project root - Add your API key(s):
APIS=["YOUR_API_KEY"]
- Create a
-
Run the application:
fastapi dev .\app.py
-
Open your browser and navigate to
http://localhost:8000
- Enter YouTube playlist or video URLs in the input box
- (Optional) Specify a range of videos to analyze within playlists
- (Optional) Enter a custom playback speed
- Click "Analyze" to get detailed information about the playlists and videos
I'm actually not looking for contributions to this repository, and I won't be actively watching it. However, feel free to fork the repository and make your own changes!
Made with ❤️ by Sharat Sachin