forked from suryasev/unofficial-google-trends-api
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed an issue where additional whitespace was causing the Google aut…
…hentication to fail.
- Loading branch information
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d2dff6f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After I add your fix, it moves to this next error.
Traceback (most recent call last):
File "test.py", line 5, in
print connector.csv()
File "pyGTrends.py", line 105, in csv
raise Exception("Could not find requested section")
Exception: Could not find requested section
If I check the output of self.raw_data I find
��You must be signed in to export data from Google Trends
update: The cause appears to be the use of google 2-step authentication. Disabled that and pyGTrends.py works.
d2dff6f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix works for me. I was having the same error.
d2dff6f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting the same error, even with the 2 step authentication disabled. "Could not find requested section"