Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

pinterest-scraperPinterest 刮刀

Agent Skill

pinterest-scraper 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

17,181

周安装

738

GitHub Stars

公开资料未说明

下载量

6,022
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pinterest-scraper(Pinterest 刮刀)
来源仓库:https://github.com/kexu9/pinterest-scraper
安装命令:
openclaw skills install pinterest-scraper
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pinterest-scraper

简介

通过无限滚动、图像质量选项、重复数据删除、简历支持和 Telegram 相册发送来抓取 Pinterest 版块、个人资料或搜索结果。

SKILL.md

name
pinterest-scraper
description
Full-featured Pinterest image scraper with infinite scroll, quality options, Telegram integration, duplicate detection, resume support, and verbose logging. Use when: (1) Scraping Pinterest boards/users/search, (2) Need quality options (originals/736x/474x/236x), (3) Sending images to Telegram, (4) Resuming interrupted scrapes, (5) Avoiding duplicate downloads, (6) Debugging with verbose logs.
version
1.1.0
changelog
v1.1.0: Added reasoning framework, decision trees, troubleshooting, self-checks
metadata
openclaw
requires
bins
pip
emoji
📌
category
utility
homepage
https://github.com/KeXu9/pinterest-scraper

Pinterest Scraper

Full-featured Pinterest image scraper with automatic scrolling and multiple output options.

When This Skill Activates

This skill triggers when user wants to download images from Pinterest.

Reasoning Framework

StepActionWhy
1EXTRACTParse Pinterest URL to determine board/user/search
2LAUNCHStart Playwright browser with stealth options
3SCROLLIncrementally load images (Pinterest uses infinite scroll)
4COLLECTExtract image URLs with quality selection
5DEDUPHash-based duplicate detection
6DOWNLOADSave images to output folder
7NOTIFYOptional: send to Telegram

Setup

pip install playwright requests
playwright install chromium

Decision Tree

What are you trying to do?

├── Download images from a board/user
│   └── Use: -u "URL" -s [scrolls]
│
├── Get highest quality possible
│   └── Use: -q originals
│
├── Get smaller/faster downloads
│   └── Use: -q 736x or 236x
│
├── Send images to phone
│   └── Use: --telegram --token X --chat Y
│
├── Resume interrupted scrape
│   └── Use: --resume
│
└── Debug issues
    └── Use: -v (verbose logging)

Quality Selection Decision

QualityUse CaseFile Size
originalsBest quality, archivingLargest
736xGood balanceMedium
474xThumbnail qualitySmall
236xPreview onlySmallest
allSave every versionLargest total

Usage

Command Line

python scrape_pinterest.py -u "URL" [options]
OptionDescriptionDefault
-u, --urlPinterest URL (required)-
-s, --scrollsNumber of scrolls50
-o, --outputOutput folder./pinterest_output
-q, --qualityQuality: originals/736x/474x/236x/alloriginals
-v, --verboseEnable verbose loggingfalse
--telegramSend images to Telegramfalse
--tokenTelegram bot token-
--chatTelegram chat ID-
--resumeResume from previous scrapefalse
--dedupSkip duplicatestrue
--no-dedupDisable deduplication-
--telegram-onlyOnly send existing filesfalse

Common Examples

# Basic scrape (50 scrolls, originals, current dir)
python scrape_pinterest.py -u "URL"

# Verbose mode (logs to console + scrape.log)
python scrape_pinterest.py -u "URL" -v

# More scrolls, custom output, medium quality
python scrape_pinterest.py -u "URL" -s 100 -o ./output -q 736x -v

# With Telegram delivery
python scrape_pinterest.py -u "URL" --telegram --token "TOKEN" --chat "CHAT_ID"

# Resume interrupted scrape
python scrape_pinterest.py -u "URL" --resume -v

# Show help
python scrape_pinterest.py --help

Python API

This tool is CLI-based. Run it from your Python code:

import subprocess
import os

# Run the scraper
result = subprocess.run(
    ['python3', 'scrape_pinterest.py', '-u', 'URL', '-s', '50', '-q', 'originals'],
    cwd='./scripts',
    capture_output=True,
    text=True
)

print(result.returncode)  # 0 = success
print(result.stdout)

Features

FeatureDescription
Infinite ScrollAutomatic scrolling loads more images
Quality Optionsoriginals/736x/474x/236x/all
TelegramSend directly to Telegram
DeduplicationHash-based duplicate detection
ResumeContinue from previous scrape
URL TypesBoards, user profiles, search results
Verbose Logging-v flag, logs to console + scrape.log

Verbose Logging

Use -v or --verbose for detailed logging:

python scrape_pinterest.py -u "URL" -v

What gets logged:

  • Scroll progress (every 10 scrolls)
  • Images found per scroll
  • Download progress (X/Y)
  • Telegram send status
  • Errors and warnings

Log files:

  • Console: INFO level
  • scrape.log: DEBUG level (detailed)

Troubleshooting

Problem: No images downloaded

  • Cause: Not enough scrolls, Pinterest didn't load
  • Fix: Increase -s value (try 100-200)

Problem: "Browser not found"

  • Cause: Playwright not installed
  • Fix: playwright install chromium

Problem: SSL certificate errors (Mac)

  • Cause: macOS SSL issues
  • Fix: Use verify=False in requests calls

Problem: Duplicate images

  • Cause: Deduplication disabled or failed
  • Fix: Use --dedup flag (default: on)

Problem: Resume not working

  • Cause: State file missing or URL changed
  • Fix: Use same URL as original, check .scrape_state.json

Problem: Telegram not sending

  • Cause: Invalid token/chat ID, rate limiting
  • Fix: Verify bot token, check chat ID, Telegram limits 100 images/batch

Problem: Verbose logs not writing

  • Cause: File permission issue
  • Fix: Check write permissions in output directory

Self-Check

  • [ ] Pinterest URL is valid (board/user/search)
  • [ ] Playwright installed: playwright install chromium
  • [ ] Quality selected appropriately for use case
  • [ ] Output directory exists or is writable
  • [ ] For Telegram: token and chat ID correct
  • [ ] For resume: using same URL as original scrape

Notes

  • Pinterest loads dynamically - scrolling required for more images
  • Use verify=False for requests (Mac SSL issues)
  • State saved to .scrape_state.json for resume
  • Telegram limited to 100 images per batch
  • Verbose mode writes detailed logs to scrape.log

Quick Reference

TaskCommand
Basic scrapepython scrape_pinterest.py -u "URL"
Verbose debugpython scrape_pinterest.py -u "URL" -v
High qualitypython scrape_pinterest.py -u "URL" -q originals
Fast/smallpython scrape_pinterest.py -u "URL" -q 236x
Send to Telegrampython scrape_pinterest.py -u "URL" --telegram --token X --chat Y
Resumepython scrape_pinterest.py -u "URL" --resume
Custom outputpython scrape_pinterest.py -u "URL" -o ./myfolder

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.46%
按下载量换算5,809

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills