DhanushNehru / Python-Scripts

A curated list of python scripts for automating your tasks
https://dhanushnehru.github.io/Python-Scripts/
MIT License
185 stars 114 forks source link

Youtube Playlist Info Scraper #241

Closed M786453 closed 1 week ago

M786453 commented 1 week ago

A python module to retrieve information about a YouTube playlist in Json format using playlist link.

It returns following information about the playlist in Json format:

{
        "title": ..., 
        "totalVideos": ..., 
        "channelName": ..., 
        "playlistUrl": ..., 
        "duration": ...,
        "videos": [
            {
                "title": ..., 
                "duration": ..., 
                "id": ...
            }
            , 
            .
            .
            .
            ], 
    }

@DhanushNehru I have created a pull request for this feature.