ihf
Jul 03, 2014 - 15:49
Basic python query: I was trying to run google search script and I am getting an error that 'function' object has no attribute 'get'. Can anyone explain what is going on?
Basic python query: I was trying to run google search script and I am getting an error that 'function' object has no attribute 'get'. Can anyone explain what is going on?
I proposed a fix in the comments section of the link above.
Thanks for fix. For my edification, I was trying to understand why this script ever worked (i.e., what changed?)
The older versions of the requests module has json as a parameter, not a function. Pythonista 1.5 brought us a more recent version.
Thank you @ccc and @JonB for both the fix and the explanation.