Git Product home page Git Product logo

google_images_scraper-rs's Introduction

google_images_scraper-rs

This is a command-line app that scrapes the results of a Google Images search.
The app uses a Selenium WebDriver to render the search results into a browser, this is necessary because the searched images are only loaded when the request is interpreted by a browser.
With that being said, the program needs a selenium-server.jar file stored in .google_images_scraper folder on Home directory. You can download it here.
After the download, just create the .google_images_scraper folder on your Home directory and then drop the .jar file.

installation

Linux

To install this program you'll need Rust and Cargo installed in your machine.
You can install both here.

Then run:

$ cargo install --git https://github.com/EduardoPD1921/google_images_scraper-rs

Usage:

$ google_images_scraper-rs [SEARCH_PARAMETER] [OPTIONS]

Args:

  • search_parameter <string>: (required) String that's going to be inserted on Google Images text input.
  • Options:
    • --download-limit <integer>: (optional) Limit of downloads per scraping.
    • --folder-name <string>: (optional) Custom folder name with downloaded images.

Known issues

Until now, the scraper has a limitation of the quantity of images that can be downloaded in a single scraping. This occurs because the browser only load 1 page of results.

google_images_scraper-rs's People

Contributors

eduardoheleno avatar

Stargazers

gurpal2000 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.