python-youtube-api
python-youtube-api copied to clipboard
Added jsonlines to write 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.