Home
Softono
youtube-comment-scraper

youtube-comment-scraper

Open source Apache-2.0 Jupyter Notebook
48
Stars
16
Forks
0
Issues
1
Watchers
4 years
Last Commit

About youtube-comment-scraper

# Parse Comments from Youtube Videos [![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ahmedshahriar/youtube-comment-scraper/main) This script will dump youtube video comments to a CSV from youtube video links. Video links can be placed inside a variable or list or CSV The script is based on [youtube-comment-downloader](https://github.com/egbertbouman/youtube-comment-downloader) It requires **pandas** and **requests** modules To run : `pip install -r requirements.txt` `python ytb_comment_scraper.py` By default, the script will download most recent 100 comments The comments will be dumped to a CSV file You can set the parameter values as you wish - ``` COMMENT_LIMIT : How many comments you want to download SORT_BY_POPULAR : filter comments by popularity (0 for True , 1 for false) SORT_BY_RECENT : filter comments by recently posted (0 for True , 1 for false) ``` Acce ...

Platforms

Web Self-hosted

Languages

Jupyter Notebook

Links

Parse Comments from Youtube Videos

made-with-python Binder

This script will dump youtube video comments to a CSV from youtube video links. Video links can be placed inside a variable or list or CSV

The script is based on youtube-comment-downloader

It requires pandas and requests modules

To run :

pip install -r requirements.txt

python ytb_comment_scraper.py

By default, the script will download most recent 100 comments

The comments will be dumped to a CSV file

You can set the parameter values as you wish -

COMMENT_LIMIT : How many comments you want to download 

SORT_BY_POPULAR : filter comments by popularity (0 for True , 1 for false)

SORT_BY_RECENT : filter comments by recently posted (0 for True , 1 for false)

Access to kaggle Notebook - Scrape Youtube Comments For Free (No Google API)