Socket
Socket
Sign inDemoInstall

easygooglesearch

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    easygooglesearch

allows access to some Google Search features which may not be easily accessible using the official Google APIs


Maintainers
1

Readme

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

easygooglesearch.get_autocomplete_entry(query : str)

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

Google Images

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

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.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc