Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/debasishdhal/youtube-playlist-statistics
Repository to produce statistics of Youtube playlists. The statistics include Total duration, Average duration of the videos in playlist.
https://github.com/debasishdhal/youtube-playlist-statistics
playlist youtube youtube-api youtube-video
Last synced: 24 days ago
JSON representation
Repository to produce statistics of Youtube playlists. The statistics include Total duration, Average duration of the videos in playlist.
- Host: GitHub
- URL: https://github.com/debasishdhal/youtube-playlist-statistics
- Owner: DebasishDhal
- Created: 2023-09-01T18:05:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-11T17:44:44.000Z (25 days ago)
- Last Synced: 2024-12-11T18:44:15.514Z (25 days ago)
- Topics: playlist, youtube, youtube-api, youtube-video
- Language: Python
- Homepage: https://huggingface.co/spaces/DebasishDhal99/Youtube_Playlist
- Size: 286 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
title: Youtube Playlist
emoji: 🎥
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 3.35.2
app_file: app.py
pinned: false
license: cc
---
# Total duration of playlist
For a given playlist, it calculates the duration of each public video in that playlist and sums them to produce the total duration. The total duration of the playlist given below is 1 hour, 58 minutes.
[Playlist link](https://youtube.com/playlist?list=PLuhqtP7jdD8CD6rOWy20INGM44kULvrHu&si=G4rrT1wQfQVvzTJF)
# Average duration of a playlist
Average duration of videos is calculated for the publicly available videos in that playlist. For example, the average duration of videos in this playlist is around 9 minutes.
# Playlist mismatch
Given two playlists, this function gets the videos that are present in one of the playlists, but not in the other.
The two playlists are given here, [HindiSongs1](https://youtube.com/playlist?list=PLgeEuUJpv5I-jRo3Ibddg96Ke5QRryBQf&si=HZKtxDOm6RbmYieu) and [HindiSongs2](https://youtube.com/playlist?list=PLgeEuUJpv5I-0eV03cUzMAVyHDyVV_43D&si=t8mf-O0CNe23dwlS).
**************************************************************************************************
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference