This Python project utilizes the YouTube Data API and Streamlit to create a web-based tool for computing the total duration of YouTube playlists. By inputting a playlist link, users can instantly determine the combined length of all videos within the playlist.
- Input: Accepts YouTube playlist URLs for analysis.
- Calculation: Engages the YouTube Data API to retrieve video details and compute the cumulative duration of the playlist.
- Output: Displays the total playlist duration in minutes.
- Python
- Streamlit: Framework for building the web interface.
- Google API Client: Facilitates interaction with the YouTube Data API.
- Clone the repository.
- Install dependencies (Streamlit and Google API Client).
- Replace "YOUR_API_KEY_HERE" with your actual YouTube Data API key.
- Run the app via
streamlit run youtube_playlist_duration_counter
. - Enter a YouTube playlist URL and instantly view its total duration.
OR
Direct access link to the webapp - https://youtube-playlist-duration-calculator.streamlit.app
Explore and utilize this project effortlessly to calculate the comprehensive duration of your preferred YouTube playlists!