- Go to Google Cloud Console and create a new project.
- Enable the YouTube Data API v3.
- Create credentials (OAuth client ID, Application Type: Other/Desktop) and download them to
client_secrets.json
.
large part of main.py is the work of
python3 main.py --videoid=gtC-UPk3u8I
, 'gtC-UPk3u8I' is id in this case.
after running the py script, you should be able to see your own compound.csv
final step, now you should be able to see your own video stats.
this work is inspired from John Fish senticomment