xiaohongshu
xiaohongshu
google-images-crawler
Crawl high-resolution original images from Google Images search. Use when user needs to (1) Search and download images from Google, (2) Get original/full-size images instead of thumbnails, (3) Batch download images by keyword, (4) Extract image URLs from Google Images search results. Supports spe...
Full skill instructions
Crawl original (non-thumbnail) images from Google Images search results.
https://encrypted-tbn0.gstatic.com/images?q=tbn:...https://example.com/photo.jpgThis skill extracts the original high-resolution images, not the low-quality thumbnails.
python3 scripts/crawl_google_images.py "search keyword" --count 10
python3 scripts/download_images.py urls.txt --output ./images
Google Images wraps original URLs in imgurl parameter:
import re
# Extract from a[href*="imgurl="] links
match = re.search(r'imgurl=([^&]+)', href)
original_url = match.group(1)
Parse JSON embedded in page HTML containing image metadata.
# Google sometimes embeds metadata in div.rg_meta
data = json.loads(div.text_content)
original_url = data['ou'] # original URL
Use scripts/crawl_google_images.py:
from playwright.sync_api import sync_playwright
import re
def crawl_google_images(keyword, count=10):
with sync_playwright() as p:
browser = p.chromium.launch(headless=True)
page = browser.new_page()
# Navigate to Google Images
page.goto(f"https://www.google.com/search?q={keyword}&tbm=isch")
page.wait_for_timeout(3000)
# Method 1: Extract from imgurl parameter
links = page.eval_on_selector_all('a[href*="imgurl="]',
'els => els.map(e => e.href)')
original_urls = []
for link in links:
match = re.search(r'imgurl=([^&]+)', link)
if match:
url = match.group(1)
# URL decode
url = url.replace('%3A', ':').replace('%2F', '/')
if 'gstatic' not in url and 'google' not in url:
original_urls.append(url)
browser.close()
return original_urls[:count]
import requests
def download_image(url, output_path):
headers = {
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"
}
r = requests.get(url, headers=headers, timeout=30)
if r.status_code == 200:
with open(output_path, "wb") as f:
f.write(r.content)
return len(r.content)
return 0
gstatic or googlereferences/advanced_filtering.md - Size, type, and color filtering optionsreferences/api_alternative.md - Using Google Custom Search API as alternativexiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience