Simple script for downloading Youtube comments without using the Youtube API
Switch branches/tags
Nothing to show
Clone or download
Daruko0 and egbertbouman Added UTF-8 support (#15)
* Update downloader.py

* Using io.open for Python 2 compatibility 

Using io.open instead of open since the it supports the encoding flag.
Latest commit c776ae5 Sep 6, 2018
Permalink
Failed to load latest commit information.
.gitignore Initial commit Aug 31, 2015
LICENSE Initial commit Aug 31, 2015
README.md Create README.md Aug 31, 2015
downloader.py Added UTF-8 support (#15) Sep 5, 2018

README.md

youtube-comment-downloader

Simple script for downloading Youtube comments without using the Youtube API. The output is in line delimited JSON.

Dependencies

  • Python 2.7+
  • requests
  • lxml
  • cssselect

The python packages can be installed with

pip install requests
pip install lxml
pip install cssselect

Usage

usage: downloader.py [--help] [--youtubeid YOUTUBEID] [--output OUTPUT]

Download Youtube comments without using the Youtube API

optional arguments:
  --help, -h            Show this help message and exit
  --youtubeid YOUTUBEID, -y YOUTUBEID
                        ID of Youtube video for which to download the comments
  --output OUTPUT, -o OUTPUT
                        Output filename (output format is line delimited JSON)