Step | Task |
---|---|
1 | Open DumpAllComments.py |
2 | Enter your API key that you got from the YouTube Data API v3 into api_key = "ENTER_YOUR_API_KEY_HERE" |
3 | Past the Video URL ID into video_id = "arxGmKffjp8" |
4 | Run the script from a terminal |
5 | Check the main directory for allComments.tsv (its a tabs serperated values file) |
6 | Profit |
Follow the first half of this video to obtain an api for YouTube Data API v3; YouTube Data API and Python -- Part 2 by LucidProgramming