Skip to main content

Python Script to download images from Yandex.Images

Project description

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 for code reviews.
Special thanks to Boris Kovarski (https://github.com/kovarsky) and Andrey Lyashko for backing the project.

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

yandex_images_download-1.0.4.tar.gz (8.6 kB view hashes)

Uploaded Source

Supported by

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