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 details)

Uploaded Source

File details

Details for the file yandex_images_download-1.0.4.tar.gz.

File metadata

  • Download URL: yandex_images_download-1.0.4.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for yandex_images_download-1.0.4.tar.gz
Algorithm Hash digest
SHA256 b47d7c6721f268bec1cfd8de8236c53b73482457263bcc04dd748fab3e6ab7f5
MD5 60adf24a5ec9621073d5b77b66d39f85
BLAKE2b-256 51a85b2ee15a93c802c8767ee44961cc03b0f2687f5d8b754a460e926a5c62fe

See more details on using hashes here.

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