Skip to main content

Search for similar images on Google using Selenium

Project description

gooise

gooise (pronounced as goo-ee-se) is a Google Image Search automation tool.

Usage

Installation

PyPI version

gooise is available at Python Package Index and thus can be installed by pip:

$ pip install gooise

pip will also install gooise script to PATH.

Basic usage

Searching for local/remote image

$ gooise image.jpg
$ gooise https://example.com/img/image.jpg

Note: by default, gooise uses any available web driver, so you need to have at least one of these supported browsers installed:

  • Chrome (or any other chromium-based browsers)
  • Firefox
  • Opera
  • Internet Explorer
  • Edge

If your browser is installed in some uncommon location or is not in PATH, you'll need to pass some extra parameters to gooise (see Configuring web driver.)

Advanced usage

Configuring web driver

Use -d {chrome,firefox,opera,ie,edge} option to specify type of browser, and -b PATH to specify browser executable.

$ gooise -d firefox -b /usr/bin/firefox image.jpg

Running in headless mode

Note: gooise supports headless mode in Chrome/Firefox only.

Headless mode (enabled by default, disabled by -r option) hides automated browser window preserving its full functionality. It's usually more preferable since browser in regular mode has to stay focused (Selenium might fail to interact with a web page if browser window is kept in background).

Contributing

Google tends to update their frontend once in a while, and thus all HTML tag IDs/classes are updated, too.

If you noticed that gooise isn't working as expected anymore (or not working at all) - you can open an issue or propose a fix via merge request.

These files contain CSS selectors and web page interaction logic:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gooise-2020.7.18.8.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gooise-2020.7.18.8-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file gooise-2020.7.18.8.tar.gz.

File metadata

  • Download URL: gooise-2020.7.18.8.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for gooise-2020.7.18.8.tar.gz
Algorithm Hash digest
SHA256 93bb8a0b067b4ed725afd9422fc0ccb8bf42b5d940c80cfd1dfcda72f192a8c0
MD5 fdfd4afa0aa3670353aca64f5213a0c8
BLAKE2b-256 64f93019558ebd7ba4ab5fa38dbaa438a0d886d6d6c341a3b6c3d2ea0761155b

See more details on using hashes here.

File details

Details for the file gooise-2020.7.18.8-py3-none-any.whl.

File metadata

  • Download URL: gooise-2020.7.18.8-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for gooise-2020.7.18.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6662b7eb0eca7c34058b11c5216d33e1d58e3e22ba78077aa980907a1beb6d50
MD5 710a3a7916d755591cd4a6b90ef227f9
BLAKE2b-256 086742edb9b43e07bf2f7344c71f765b6faafaff72eb95937191fa0352a1bbb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page