Skip to content

⏯ A Python Flask website that calculates the total duration of the videos in a YouTube playlist

Notifications You must be signed in to change notification settings

raghavtwenty/ytpl-length-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Playlist Length Calculator

A Python Flask website that calculates the total duration of the videos in a YouTube playlist


🌟 EXPERIENCE HERE 🌟

https://ytpl-length-calculator.onrender.com


PROTOTYPE VIDEO

video.mov



HOW TO EXECUTE

Get the YouTube data v3 API key from console.cloud.google.com
inside .env file

YT_API_KEY = "your api key"

Terminal

git clone https://github.com/raghavtwenty/ytpl-length-calculator.git

cd ytpl-length-calculator/

Place the .env file in this folder

pip install -r requirements.txt

python application.py

INTRODUCTION

Introducing a Python Flask web application tailored for YouTube enthusiasts and learners alike, providing a convenient solution to gauge the total duration of playlists. By seamlessly integrating YouTube API, users can effortlessly explore playback speed details and customize video ranges, enhancing their viewing experience and learning efficiency.


REQUIRED

  • PC or Laptop
  • Pogramming language: Python
  • Frameworks: Flask
  • API: YouTube data V3 API key


WORKING

This is flask web app which can be used to know the total duration of the youtube playlist.

  • The flask app is first started, It runs on localhost 5000 (port number).
  • The YouTube playlist link is given as the input.
  • It retrieves videos details for the given playlist link using YouTube API.
  • Asks for custom video range from the user.
  • Based on the range, It outputs the playback speed & corresponding duration.


ADVANTAGES

  • Able to find the total duration of the youtube playlist.
  • Custom video range of the playlist can be given as the input.


OUTPUT

  • Home Page

    1

  • Videos Page

    2

  • Output Page

    3

  • Link Error Handling Page

    4

  • Video Number Error Handling Page

    5



END OF README