Enalbe The following APIs here -> https://console.developers.google.com/apis/
- Google+ API
- YouTube Data API
Create a Project under Projects and Assign a credential for yourself. Download the credential file and put it into a file called client_secrets.json.
Install necessary libraries like this:
pip install httplib2 --upgrade
pip2 install httplib2 --upgrade
pip3 install httplib2 --upgrade
pip install apiclient --upgrade
pip2 install apiclient --upgrade
pip3 install apiclient --upgrade
pip install --upgrade google-api-python-client
pip3 install --upgrade google-api-python-client
pip2 install --upgrade google-api-python-clientCall this script with like this:
python read_comments.py --videoid='-ysh9iF8F2I' --text='"You brought only sadness to me!" - AlpacaPatrol 2015'At the moment it just retrieves that comment thread, which looks like this:
Comment by 666Muller666: Why do these guys never organize stuff?
They're missing stuff in inventory, chests, etc. because everything's just
cluttered randomly with stuff all over the place.
Comment by Rebecca Anderson: After days and days, multiple episodes of trying to find Rob they meet...
*Screams of horror and pain
Rob "YOU BROUGHT ONLY SADNESS TO ME!"
Rob dies
Mathas dies
LOLOLOLOL
too fuckin good
Comment by João: A "castrato" is a castrated singer, which was done in Italy I think, so
that they could achieve higher pitched voices and notes.
Comment by joey grieco: And everything goes to shit :D
Comment by Thibooms: "Oh look, reeds! There's lots of them! *instantly runs into the trap*
I wonder if he'll survive in the next episode xD
Comment by KingDuck Guy: Is JSmith really dead
Comment by TheMaidHatter: Reunited and it feels so - oh crap Doxy died.
Comment by Lazy034: Rob da na na nyaaaaw~
Robot Rob da na na nyew na nyeeeeew~
Comment by HeavenLeahSky: BAER!! swalmp
Comment by Invalida CZ: will you make some more darkest dungeon videos??
Comment by Nicebigboo: I love how Baer died first and everyone mocked him and now everyone else is
dieing constantly while baer saves all of them.
Comment by Hugo Sousa: "You brought only sadness to me!" - AlpacaPatrol 2015
Comment by Alessandra Gonzales: I'm gonna be so sad when Baer's bird starves to death in his inventory
Comment by Aidan Cargile: Is he actually dead?
Comment by Bradyn Nathaniel: FirstBut it's possible to retrieve, edit, update, moderate, delete comments with the right access rights. Authentication happens via Google through the Browser but that can be easily ammended with some tweeking. The script and some more description can be found on Google's Python library documentation page.