This python script scrape the YouTube details as follows like
* Channel Name
* Subscribers Count
* Published Date
* Views
* Likes
* Dislikes
and finally, returns the output in dictionary format
Use the package manager pip to install following
pip install beautifulsoup4
pip install requests
pip install argparse
Download it by clicking the green download button here on Github. You only need to parse argument of YouTube URL.
python main.py -youtube_url https://www.youtube.com/watch?v=IRbuo1bwOoc
or
python main.py -yt https://www.youtube.com/watch?v=IRbuo1bwOoc
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.