Skip to content

Instantly share code, notes, and snippets.

@mpschr
Created October 7, 2016 19:05
Show Gist options
  • Select an option

  • Save mpschr/c412aba1d2c277354d5cdc85604cd071 to your computer and use it in GitHub Desktop.

Select an option

Save mpschr/c412aba1d2c277354d5cdc85604cd071 to your computer and use it in GitHub Desktop.
googler -d 503 after about 15 queries
[DEBUG] Version 2.8
[DEBUG] Connecting to new host www.google.com
Please initiate a query.
googler (? for help) acute myeloid leukemia
[DEBUG] Fetching URL /search?ie=UTF-8&num=10&oe=UTF-8&q=acute+myeloid+leukemia&start=0
[DEBUG] Redirecting to URL https://ipv6.google.com/sorry/index?continue=https://www.google.com/search%3Fie%3DUTF-8%26num%3D10%26oe%3DUTF-8%26q%3Dacute%2Bmyeloid%2Bleukemia%26start%3D0&q=CGMSECoCgQmaQAB4QMRd6gMP4vQY_OLfvwUiGQDxp4NLo2ZqN-VW7TGV-fqAOK9YF7Dl4DU
[DEBUG] Connecting to new host ipv6.google.com
[DEBUG] Fetching URL /sorry/index?continue=https://www.google.com/search%3Fie%3DUTF-8%26num%3D10%26oe%3DUTF-8%26q%3Dacute%2Bmyeloid%2Bleukemia%26start%3D0&q=CGMSECoCgQmaQAB4QMRd6gMP4vQY_OLfvwUiGQDxp4NLo2ZqN-VW7TGV-fqAOK9YF7Dl4DU
Traceback (most recent call last):
File "/usr/local/bin/googler", line 2166, in <module>
main()
File "/usr/local/bin/googler", line 2155, in main
repl.cmdloop()
File "/usr/local/bin/googler", line 1809, in cmdloop
self.do_google(cmd)
File "/usr/local/bin/googler", line 1734, in do_google
self.fetch_and_display()
File "/usr/local/bin/googler", line 1519, in enforced_method
method(self, *args, **kwargs)
File "/usr/local/bin/googler", line 1679, in fetch_and_display
self.fetch()
File "/usr/local/bin/googler", line 1519, in enforced_method
method(self, *args, **kwargs)
File "/usr/local/bin/googler", line 1610, in fetch
page = self._conn.fetch_page(self._google_url.relative())
File "/usr/local/bin/googler", line 672, in fetch_page
raise GoogleConnectionError('Got HTTP %d: %s' % (resp.status, resp.reason))
__main__.GoogleConnectionError: Got HTTP 503: Service Unavailable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment