Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youtube-comment-downloader-0.1.59.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

youtube_comment_downloader-0.1.59-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file youtube-comment-downloader-0.1.59.tar.gz.

File metadata

  • Download URL: youtube-comment-downloader-0.1.59.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for youtube-comment-downloader-0.1.59.tar.gz
Algorithm Hash digest
SHA256 d9b0a48b44dc407bc00b1dd95a4ba27288e086358f11bbe3f40dc6da59d45d3a
MD5 1d56107fa32513ec66b57a87ae0dead7
BLAKE2b-256 1930714d6d302e221dc8e293c9dcc0eeedcd717aa34f16b9454c3ae24f1df366

See more details on using hashes here.

File details

Details for the file youtube_comment_downloader-0.1.59-py3-none-any.whl.

File metadata

  • Download URL: youtube_comment_downloader-0.1.59-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for youtube_comment_downloader-0.1.59-py3-none-any.whl
Algorithm Hash digest
SHA256 8ffee53c33f8ea4acd0b78622df0aa3369f972e770ab72476ccd6369740236fd
MD5 d5d75bb75aea936b69bd3024f34493df
BLAKE2b-256 262b6c5ce4cc72c8a7492278fb09e16609118fdceabd6654fa116ba3160372f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page