Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't support https #18

Open
Hugh-Zhu opened this issue Jun 21, 2016 · 0 comments
Open

Doesn't support https #18

Hugh-Zhu opened this issue Jun 21, 2016 · 0 comments

Comments

@Hugh-Zhu
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant