Simple script for downloading Youtube comments without using the Youtube API
Project description
youtube-comment-downloader
Simple script for downloading Youtube comments without using the Youtube API. The output is in line delimited JSON.
Installation
Preferably inside a python virtual environment install this package via:
pip install youtube-comment-downloader
Or directly from the GitHub repository:
pip install https://github.com/egbertbouman/youtube-comment-downloader/archive/master.zip
Usage
$ youtube-comment-downloader --help
usage: youtube-comment-downloader [--help] [--youtubeid YOUTUBEID] [--output OUTPUT] [--limit LIMIT]
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)
--limit LIMIT, -l LIMIT
Limit the number of comments
--language LANGUAGE, -a LANGUAGE
Language for Youtube generated text (e.g. en)
--sort SORT, -s SORT Whether to download popular (0) or recent comments (1). Defaults to 1
For example:
youtube-comment-downloader --youtubeid ScMzIvxBSi4 --output ScMzIvxBSi4.json
For Youtube IDs starting with - (dash) you will need to run the script with:
-y=-idwithdash
or --youtubeid=-idwithdash
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for youtube-comment-downloader-0.1.59.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9b0a48b44dc407bc00b1dd95a4ba27288e086358f11bbe3f40dc6da59d45d3a |
|
MD5 | 1d56107fa32513ec66b57a87ae0dead7 |
|
BLAKE2b-256 | 1930714d6d302e221dc8e293c9dcc0eeedcd717aa34f16b9454c3ae24f1df366 |
Close
Hashes for youtube_comment_downloader-0.1.59-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ffee53c33f8ea4acd0b78622df0aa3369f972e770ab72476ccd6369740236fd |
|
MD5 | d5d75bb75aea936b69bd3024f34493df |
|
BLAKE2b-256 | 262b6c5ce4cc72c8a7492278fb09e16609118fdceabd6654fa116ba3160372f0 |