Skip to main content

Crawler/parser for Yandex Images

Project description

Yandex Images Crawler

PyPI - Version PyPI - Downloads PyPI - Python Version GitHub License

Description

Yandex Images Crawler allows you to download images from Yandex Images automatically.

Unlike most other projects, this package allows you to download images according to certain filters. For example, you can download images of a specified size or similar images.

Installation

You can use the yandex_images_crawler/download.py script or install the package via pip.

pip install yandex-images-crawler

Usage

C:\Users\suborofu> yandex-images-crawler --help
usage: yandex-images-crawler [-h] [--links LINK1,...] [--links-file FILE] [--size WxH] [--count N]
                             [--dir DIR] [--prev-dir DIR]

Yandex Images Crawler

options:
  -h, --help         show this help message and exit
  --links LINK1,...  Full links to image sets for download. Links should be separated by commas. Each    
                     link should lead to an open preview of the image.
  --links-file FILE  Text file with full links to image sets for download. Links should be separated by  
                     newlines. Each link should lead to an open preview of the image.
  --size WxH         Minimum size of images to download. Width an height should be separated by 'x'.     
  --count N          Required count of images to download. A message appears if the desired number of    
                     images are downloaded.
  --dir DIR          Directory for new images.
  --prev-dir DIR     Directory of previously loaded images. Program skips the loading of already loaded  
                     images in another directory. Useful for re-downloading.

Links

To get correct links, follow the steps below:

  1. Open Yandex Images.
  2. Search for images you need.
  3. Set the search parameters:
    • Specify size, orientation, type or color.
    • Provide a site URL.
    • Find similar images.
  4. Copy a link in the browser (example).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yandex_images_crawler-1.3.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file yandex_images_crawler-1.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for yandex_images_crawler-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 596eda19bcbd39b8b126d5d6640d6ea758c043349a22e1494c0293c7a54f61fe
MD5 b079e827dc129a205dc039c80244d20f
BLAKE2b-256 44aa3dee910fe8502df17797197a1f838fb03e8d8dcc9e69d10c911e1897f9c4

See more details on using hashes here.

Supported by

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