By jimuzhe
Batch scrape and download hotel photos from Booking.com (Playwright + requests). Supports city/hotel search, configurable hotel count, image size, and concurrent downloads.
从 Booking.com 批量爬取酒店照片并下载到本地。
把下面这句话直接发给 AI,它会在终端执行安装:
请在终端执行:git clone https://github.com/jimuzhe/booking-hotel-photos.git ~/.claude/skills/booking-hotel-photos && cd ~/.claude/skills/booking-hotel-photos && bash install.sh
安装完成后可让 AI 继续执行验证:
请在终端执行:python3 -c "import playwright, requests; print('deps ok')"
git clone <仓库地址> booking-hotel-photos
cd booking-hotel-photos
bash install.sh
# 1. 安装 Python 依赖 + Playwright 浏览器
bash scripts/setup.sh
# 2. 验证
python3 -c "import playwright, requests; print('deps ok')"
安装完成后,把 booking-hotel-photos/ 目录放到 ~/.claude/skills/ 下即可在 Claude Code 中使用。
# 一键抓取 + 下载
python3 src/download.py -q "大阪" --hotels 3 --headless
# 查看结果
ls booking_photos/
# 只抓链接
python3 src/fetch_urls.py -q "东京" --max-hotels 5 --headless -o urls.json
# 只下载
python3 src/download_photos.py -i urls.json -o ./booking_photos -w 3
| 参数 | 含义 | 默认值 |
|---|---|---|
-q | 城市/酒店名 | 必填 |
-n / --hotels | 最多几家 | 3 |
-p | 搜索页数 | 1 |
-o | 照片目录 | ./booking_photos |
-w | 下载并发 | 3 |
--headless | 无界面浏览器 | false |
--size | 图片尺寸 (thumb/medium/large/xlarge) | large |
--only-download | 跳过抓 URL,只用已有 JSON 下载 | false |
--only-fetch | 只抓 URL,不下载 | false |
src/fetch_urls.py — Playwright 搜索 → 点「更多 N 张照片」→ 图库边滚边收集 URL → JSONsrc/download_photos.py — 并发下载,跳过已存在文件src/download.py — 一键封装(fetch + download)src/config.py — 配置读取(config.json / 环境变量)Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub jimuzhe/booking-hotel-photos --plugin booking-hotel-photosComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Nuxt, Jetpack Compose). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
This skill should be used when users need to generate ideas, explore creative solutions, or systematically brainstorm approaches to problems. Use when users request help with ideation, content planning, product features, marketing campaigns, strategic planning, creative writing, or any task requiring structured idea generation. The skill provides 30+ research-validated prompt patterns across 14 categories with exact templates, success metrics, and domain-specific applications.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.