Skip to main content

Yandex Image Scraper

A command-line tool to scrape and download images from Yandex search results.

Features

  • Search for images on Yandex
  • Scrape image URLs from search results
  • Auto-scrolling to load more images
  • Auto-clicks "Show more" button when available
  • High-performance parallel downloading (50 images at once)
  • Customize search parameters (content type, size, orientation)
  • Save image URLs to text file
  • Browser fingerprint spoofing to avoid detection

How It Works

  1. The script uses Playwright via Camoufox to open a browser window to Yandex Images
  2. Applies advanced browser fingerprint spoofing to avoid detection
  3. It searches for your query and extracts image URLs from the results
  4. Automatically scrolls to load more results and clicks "Show more" when needed
  5. Downloads all found images in parallel (up to 25 images per batch concurrently) for maximum speed
  6. Saves images to a folder named after your search query

Usage

# Install from PyPI
pip install yandex-image-scraper

# Run the tool
yandex-image-scraper

# Follow the prompts to:
# - Enter your search query
# - Specify how many images to download
# - Select content type (photo, clipart, etc.)
# - Choose image size and orientation
# - Enable/disable image downloads and URL saving
# - Choose headless mode (hidden browser) or visible browser

Options

When running the tool, you can customize:

  • Search query: What to search for on Yandex Images
  • Number of images: How many images to find and download
  • Content type: photo, clipart, lineart, face, demotivator, or none
  • Image size: large, medium, small, or none
  • Orientation: horizontal, vertical, square, or none
  • Headless mode: Run without showing browser window (faster but may require manual CAPTCHA solving)

Anti-Detection Technology

This tool uses advanced browser fingerprint spoofing techniques to avoid detection:

  • Randomized user agents, languages, and timezones
  • Human-like cursor movements
  • Spoofed screen and window dimensions
  • WebGL renderer spoofing
  • Audio context randomization
  • Battery status spoofing

Requirements

  • Python >= 3.8

License

GPL-3.0

Metadata

Release files for yandex-image-scraper 0.15.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yandex-image-scraper 0.15.0
File Size Uploaded Provenance
yandex_image_scraper-0.15.0.tar.gz 22.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yandex-image-scraper 0.15.0
File Interpreter ABI Platform
yandex_image_scraper-0.15.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.3 kB

Release files / yandex_image_scraper-0.15.0.tar.gz

Download URL yandex_image_scraper-0.15.0.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e6710a0c840f9520ee58c76a78c8c7cc4ae76fbefd7737cf9dfbbe8b91e81f24
BLAKE2b-256 checksum
How to use checksums
cac156d12c32f3df2ee779398bfcdb5e455d0931e174a500cb09adc776687210
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.8

Release files / yandex_image_scraper-0.15.0-py3-none-any.whl

Download URL yandex_image_scraper-0.15.0-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eeb6ad5f11a8d70702c32096718078d9eb9f3239e76c1f614fc06b6fb3e042c5
BLAKE2b-256 checksum
How to use checksums
7360d11a93719984af6dcee8e430393ee9d59c328659b21e65bd78152b48983c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.8

Security for yandex-image-scraper 0.15.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page