A method to grab the live chat replay from YouTube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
297 B

  1. #!/bin/bash
  2. videoId="$1"
  3. prefix="youtube-livechatreplay-${videoId}"
  4. DIR="$(realpath --relative-to=. "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )")"
  5. YOUTUBE_VIDEOID="$videoId" qwarc --log "${prefix}.log" --database "${prefix}.db" --warc "${prefix}" "${DIR}/livechatreplay.py"