You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was trying the example in the package, an error occurred saying Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Anaconda\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 685, in runfile execfile(filename, namespace) File "C:\Anaconda\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 71, in execfile exec(compile(scripttext, filename, 'exec'), glob, loc) File "D:/google_test.py", line 19, in <module> results = gs.get_results() File "C:\Anaconda\lib\site-packages\xgoogle-1.3-py2.7.egg\xgoogle\search.py", line 150, in get_results page = self._get_results_page() File "C:\Anaconda\lib\site-packages\xgoogle-1.3-py2.7.egg\xgoogle\search.py", line 207, in _get_results_page raise SearchError, "Failed getting %s: %s" % (e.url, e.error) xgoogle.search.SearchError: Failed getting http://www.google.com/search?hl=en&q=about&btnG=Google+Search: [Errno 10054]
Clearly it says xgoogle.search.SearchError: Failed getting http://www.google.com/search?hl=en&q=about&btnG=Google+Search: [Errno 10054] in which google only support https visit but here xgoogle is still using http.
The text was updated successfully, but these errors were encountered:
When I was trying the example in the package, an error occurred saying
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Anaconda\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 685, in runfile execfile(filename, namespace) File "C:\Anaconda\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 71, in execfile exec(compile(scripttext, filename, 'exec'), glob, loc) File "D:/google_test.py", line 19, in <module> results = gs.get_results() File "C:\Anaconda\lib\site-packages\xgoogle-1.3-py2.7.egg\xgoogle\search.py", line 150, in get_results page = self._get_results_page() File "C:\Anaconda\lib\site-packages\xgoogle-1.3-py2.7.egg\xgoogle\search.py", line 207, in _get_results_page raise SearchError, "Failed getting %s: %s" % (e.url, e.error) xgoogle.search.SearchError: Failed getting http://www.google.com/search?hl=en&q=about&btnG=Google+Search: [Errno 10054]
Clearly it says
xgoogle.search.SearchError: Failed getting http://www.google.com/search?hl=en&q=about&btnG=Google+Search: [Errno 10054]
in which google only support https visit but here xgoogle is still using http.The text was updated successfully, but these errors were encountered: