My overall task is to grap the Google Trends 'interest by region' data automatically with python.
I found the meanwhile well known post:
http://techslides.com/hacking-the-google-trends-api ,
and the actualized python module 'pytrends' which works well for example for the 'interest over time' data of google trends (but has no function for the 'interest by region' data) :
github.com/GeneralMills/pytrends .
In both approaches the underlining url which is requested to receive the desired JSON of the 'interest over time' data goes e.g like:
where cid=TIMESERIES_GRAPH_0 determines which data will be requested. The value TIMESERIES_GRAPH_0 stands for the 'interest over time' data.
The author of the post states that this url can be found with the network tab of the developer console of Chrome, while browsing Google Trends. For later beeing able to find the url for the 'interest by region' data, first I wanted to reconstruct the authors explanation and observed the Chrome devoloper console while browsing Google Trends. Yet I did not find any URL request that looks any similar to the above posted url. That brings me to the question:
How is it possible to get to this URL by the Chrome developer console network tab?
And additionally as a shortcut to my overall task:
How do I find out which value I have to enter for the cid=... key to get to the URL which corresponds to the data of the 'interest by region' function of Google Trends?
Thank you in advance