Skip to main content

easygooglesearch.py

This tiny module allows access to some Google Search features which may not be easily accessible using the official Google APIs. Only the beautifulsoup4 and requests modules are required. Please note that Google may change how the Google Search websites work at any moment, or even ban those who are overusing/abusing their features, which this module will happily allow one to do. Use this module carefully at your own risk.

Documentation

Google Search

easygooglesearch.get_autocomplete_entry(query : str)

returns a list of strings, or None Takes a query and returns Google's autocompletes.

Google Images

easygooglesearch.reverse_gimage(imagelink : str)

returns string Takes the link to an image and returns what Google thinks the image is.

easygooglesearch.reverse_gimage_link(imagelink : str)

returns string Takes the link to an image and returns a link to a Google Search of that image.

Exceptions

easygooglesearch.Error(Exception)

This is the base class for exceptions in the easygooglesearch module.

easygooglesearch.NetworkError(Error)

This exception is raised when the data easygooglesearch is trying to access on the Internet can't be reached.

easygooglesearch.DecodeError(Error)

This exception is raised when easygooglesearch doesn't understand the data it got from the Internet. This may indicate that Google has blocked or ratelimited due to overuse/abuse. This can sometimes be fixed by accessing a Google webpage, upon which Google will try to see if you're a robot, and you can lie through your teeth. This error could also indicate that the webpage structure has changed and the module doesn't know what to do. If updating easygooglesearch doesn't fix this problem, see if there is an issue is open, and if not, submit your own.

Release files for easygooglesearch 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for easygooglesearch 0.1.0
File Interpreter ABI Platform
easygooglesearch-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / easygooglesearch-0.1.0-py3-none-any.whl

Download URL easygooglesearch-0.1.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ee813981a5e5ce31b91dc763e85a9388c01ec693537893fd7abb4c5faa4c7c6
BLAKE2b-256 checksum
How to use checksums
c7d24cce91ff9836c6f366c9181628c1c4a0ba0752105a60aa4628f053281a59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page