A method to grab the comments from YouTube videos
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

README.md 721 B

4 år sedan
3 år sedan
4 år sedan
12345678
  1. A method to grab the comments from YouTube videos
  2. * Requires qwarc and realpath from GNU coreutils 8.23+.
  3. * Execute as `comments VIDEOID` where `VIDEOID` is the 11-character video ID from YouTube.
  4. * You can pass multiple video IDs at once as well: `comments VIDEOID1 VIDEOID2 ...`. They get executed sequentially.
  5. * Comments are grabbed only in the 'newest first' order, including replies and nesting.
  6. * Everything's written to a few files in the current directory called `youtube-comments-VIDEOID-DATE*`.
  7. * After the retrieval finished cleanly and you're satisfied with the results, you can delete the `.db` and `.log` files. The former is essentially useless, and the latter is contained in the `-meta.warc.gz` file.