Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.43 KB

File metadata and controls

37 lines (29 loc) · 1.43 KB

Youtube comment downloader

A simple python 3 script to download comments from many videos using youtube v3 API

*This was just my attempt at learning some datamining. I wrote it to gather text data to train NLP algorithms.

Usage

yt-comment-scraper.py [--key KEY] [--likes LIKES] [--input INPUT]
                             [--output OUTPUT] [--help]

Download youtube comments from many videos into txt file

required arguments:
  --key KEY, -k KEY     Required API key you can get here:
                        https://console.developers.google.com/apis/credentials

optional arguments:
  --likes LIKES, -l LIKES
                        The amount of likes a comment needs to be saved
  --input INPUT, -i INPUT
                        URL list file name
  --output OUTPUT, -o OUTPUT
                        Output file name
  --help, -h            Help