Giter Site home page Giter Site logo

image-downloader's Introduction

Image Downloader

996.icu

1. Introdoction

Crawl and download images using Selenium Using python3 and PyQt5

2. Key features

  • Supported Search Engine: Google, Bing, Baidu
  • Keywords input from keyboard, or input from line seperated keywords list file for batch process.
  • Download image using customizable number of threads.
  • Fully supported conditional search (eg. filetype:, site:).
  • Switch for Google safe mode.
  • Proxy configuration (socks, http).
  • CMD and GUI ways of using are provided.

3. Install

3.1 Download and install Python3.5+

  • Download Latest version of Python3.5 installer from here

3.2 Download and setup chromedriver [recommend]

  • Require Google Chrome Browser or Chromium Browser installed.
  • Download the corresponding version of chromedriver from here
  • Copy chromedriver binary to ${project_directory}/bin/ or add it to PATH.

3.3 Download and setup phantomjs [deprecated]

  • Official phantomjs prebuilt executable can be downloaded from here
  • Copy phantomjs to ${project_directory}/bin/ or add it to PATH.

3.4 Install python packages

pip3 install -r requirements.txt

4. Usage

4.1 GUI

Run image_downloader_gui.py script to yank GUI:

python image_downloader_gui.py

GUI

4.2 CMD

usage: image_downloader.py [-h] [--engine {Google,Bing,Baidu}]
                           [--driver {chrome_headless,chrome,phantomjs}]
                           [--max-number MAX_NUMBER]
                           [--num-threads NUM_THREADS] [--timeout TIMEOUT]
                           [--output OUTPUT] [--safe-mode] [--face-only]
                           [--proxy_http PROXY_HTTP]
                           [--proxy_socks5 PROXY_SOCKS5]
                           keywords

License

  • MIT License
  • 996ICU License

image-downloader's People

Contributors

chicobentojr avatar cwchenwang avatar jeffling avatar sczhengyabin avatar xingchen1224 avatar zchrissirhcz 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.