Created
June 11, 2025 00:24
-
-
Save henri/2a292aa279c8738b5a012ee06671db5a to your computer and use it in GitHub Desktop.
Youtube Comment Download Wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# (C) 2025 Henri Shustak | |
# simple script to download youtube comments from a single video in bulk | |
# usage : ./yt-comments.bash "youtube.video.url" | |
# requires : python package called youtube-comment-downlaoder | |
# dependcy install : pip install youtube-comment-downloader | |
# currently set to ues sublime text to view the file when download completes..(last line) | |
tempfile=$(mktemp /tmp/yt-comments.XXXXXX) | |
suffix="json" | |
echo "$1" > $tempfile.${suffix} | |
youtube-comment-downloader --url "https://www.youtube.com/watch?v=1E3tv_3D95g" > | |
subl -n $tempfile.${suffix} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment