sergregory / yandex-images-download

Python Script to download images from Yandex.Images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yandex Images Download

Python Script to download images from Yandex.Images.

Features

  • Checking for captcha presence
  • Many filters
  • Multiproccessing is available (option --num-workers)

Main requirements

  • Python 3.7+
  • Selenium Wire 1.0.8+
  • Firefox, Chrome, Safari and Edge are supported

Installation

  1. Get Selenium driver executable for your browser and platform. Firefox, Chrome, Safari and Edge are supported.
    Use option --driver-path to specify the driver's path or add the executable in your PATH.

Examples

Simple example using Chrome WebDriver:

$ yandex-images-download Chrome --keywords "vodka, bears, balalaika" --limit 10

Example of using keywords from input file with specific image extension/format:

$ yandex-images-download Chrome --keywords_from_file input_example.txt --itype=png

All other information can be obtained with the --help argument.

Acknowledgements

Special thanks to Andrey Lyashko (https://github.com/andy-landy) for code reviews and collaboration.
Special thanks to Boris Kovarski (https://github.com/kovarsky) and Andrey Lyashko (https://github.com/andy-landy) for backing the project.

About

Python Script to download images from Yandex.Images.

License:MIT License


Languages

Language:Python 100.0%