python-youtube-api icon indicating copy to clipboard operation
python-youtube-api copied to clipboard

Added jsonlines to write comments

Open haneybarg opened this issue 7 years ago • 0 comments

I need to colect one thousand comments per vid and write them into a jsonlines, so I did two things:

  • Added jsonlines to append to comments.jsonl file, with id, author and comment.
  • Interrupted the code after 10 pages, assuming that I would put 100 comments per page in the arguments. This is not an optimization, it is a slight modification to those who wish to use jsonlines.

haneybarg avatar Oct 19 '18 14:10 haneybarg