GHunt
GHunt copied to clipboard
is 'ghunt.py doc' not working anymore?
Describe the bug Everything is working except the document function. The email function working well, but the doc part gives an error. I tried with several google document links, but the results are all the same.
Traceback (most recent call last):
File "ghunt.py", line 40, in
Screenshots
Any luck solving this? i have the same error.
same error here as well.
This is the real error if you inspect the response (at least in my case, I used GHunt companion in server mode to generate the token):
{
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Authentication token must be issued to a non-anonymous app.",
"locationType": "header",
"location": "authorization"
}
],
"code": 400,
"message": "Authentication token must be issued to a non-anonymous app."
}
}
It's not a clean solution but if you follow along with this you can generate a new api key linked to a google cloud project, once you've got that you've just got to add google drive service to that project and it should work.
Same error here, didnt understand how to use a google project on ghunt
Same error here, didnt understand how to use a google project on ghunt
Once you've got the API key for the project go to the data file in ./resources and replace the "internal" key with the new API key