google-images-crawler

Crawl Google Images to extract original image URLs and batch download them.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/xdrshjr/JR-Agent-Skills --skill google-images-crawler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-images-crawler
Source: https://github.com/xdrshjr/JR-Agent-Skills/tree/main/hf-papers-to-video/google-images-crawler
Command: npx skills add https://github.com/xdrshjr/JR-Agent-Skills --skill google-images-crawler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users quickly locate, extract and download high-resolution, original images from Google Images search results, eliminating manual scraping steps and ensuring access to non-thumbnail assets.

Core Features & Use Cases

  • Original image extraction: fetch non-thumbnail image URLs (original image URLs) from Google Images results.
  • Batch download workflow: generate a list of URLs for a keyword and download them in bulk to local storage.
  • Use Case: design researchers who need a diverse set of high-res images for mockups or datasets can run the crawler to gather 20-50 images per keyword and save URLs for downstream processing.
  • Use Case: media researchers can build a local image dataset for model training or evaluation.

Quick Start

python3 scripts/crawl_google_images.py "sunsets" --count 10 --output urls.txt python3 scripts/download_images.py urls.txt --output ./images

Frequently Asked Questions about google-images-crawler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract original image URLs from Google Images search results?

To extract original image URLs from Google Images, crawl the search results using Playwright to fetch page data and retrieve non-thumbnail source links. The Skill outputs a list of these URLs for downstream batch downloading.

How do I batch download images from Google Images for a local dataset?

Batch download images for a local dataset by first running the crawler script to generate a URL list, then executing the download script with Requests to save the original images locally in bulk.

Does this Google Images crawler fetch high resolution images or just thumbnails?

This Google Images crawler fetches high resolution images, specifically targeting and extracting the original non-thumbnail image URLs from the search results rather than the preview thumbnails.

Do I need Playwright and Requests to crawl and download Google Images in bulk?

Yes, you need Playwright and Requests to crawl and download Google Images in bulk, as Playwright handles fetching the dynamic page data while the Requests library manages downloading the extracted image files.

What is the best way to build an image dataset from Google Images for model training?

The best way to build an image dataset from Google Images for model training is to run a batch crawler on specific keywords, extract the original URLs, and download them locally to assemble a diverse set of high-res assets.

Can I extract Google Images URLs for multiple keywords without manually scraping pages?

Yes, you can extract Google Images URLs for multiple keywords without manual scraping by running the batch crawler script, which automates Playwright page fetching to collect original image links for your search terms.