{
  "schemaVersion": "1.0",
  "item": {
    "slug": "scrapling-fetcher",
    "name": "Scrapling - Stealth Web Scraper",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Damirikys/scrapling-fetcher",
    "canonicalUrl": "https://clawhub.ai/Damirikys/scrapling-fetcher",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/scrapling-fetcher",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=scrapling-fetcher",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/patterns.md",
      "scripts/scrape.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/scrapling-fetcher"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/scrapling-fetcher",
    "agentPageUrl": "https://openagent3.xyz/skills/scrapling-fetcher/agent",
    "manifestUrl": "https://openagent3.xyz/skills/scrapling-fetcher/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/scrapling-fetcher/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Scrapling Skill",
        "body": "Source: https://github.com/D4Vinci/Scrapling (open source, MIT-like license)\nPyPI: scrapling — install before first use (see below)\n\n⚠️ Only scrape sites you have permission to access. Respect robots.txt and Terms of Service. Do not use stealth modes to bypass paywalls or access restricted content without authorization."
      },
      {
        "title": "Installation (one-time, confirm with user before running)",
        "body": "pip install scrapling[all]\npatchright install chromium  # required for stealth/dynamic modes\n\nscrapling[all] installs patchright (a stealth fork of Playwright, bundled as a PyPI package — not a typo), curl_cffi, MCP server deps, and IPython shell.\npatchright install chromium downloads Chromium (~100 MB) via patchright's own installer (same mechanism as playwright install chromium).\nConfirm with user before running — installs ~200 MB of dependencies and browser binaries."
      },
      {
        "title": "Script",
        "body": "scripts/scrape.py — CLI wrapper for all three fetcher modes.\n\n# Basic fetch (text output)\npython3 ~/skills/scrapling/scripts/scrape.py <url> -q\n\n# CSS selector extraction\npython3 ~/skills/scrapling/scripts/scrape.py <url> --selector \".class\" -q\n\n# Stealth mode (Cloudflare bypass) — only on sites you're authorized to access\npython3 ~/skills/scrapling/scripts/scrape.py <url> --mode stealth -q\n\n# JSON output\npython3 ~/skills/scrapling/scripts/scrape.py <url> --selector \"h2\" --json -q"
      },
      {
        "title": "Fetcher Modes",
        "body": "http (default) — Fast HTTP with browser TLS fingerprint spoofing. Most sites.\nstealth — Headless Chrome with anti-detect. For Cloudflare/anti-bot.\ndynamic — Full Playwright browser. For heavy JS SPAs."
      },
      {
        "title": "When to Use Each Mode",
        "body": "web_fetch returns 403/429/Cloudflare challenge → use --mode stealth\nPage content requires JS execution → use --mode dynamic\nRegular site, just need text/data → use --mode http (default)"
      },
      {
        "title": "Python Inline Usage",
        "body": "For custom logic beyond the CLI, write inline Python. See references/patterns.md for:\n\nAdaptive scraping (auto_save / adaptive — saves element fingerprints locally)\nSession/cookie handling\nAsync usage\nXPath, find_similar, attribute extraction"
      },
      {
        "title": "Notes",
        "body": "MCP server (scrapling mcp): starts a local network service for AI-native scraping. Only start if explicitly needed and trusted — it exposes a local HTTP server.\nauto_save=True: persists element fingerprints to disk for adaptive re-scraping. Creates local state in working directory.\nStealth/dynamic modes use Chromium headless — no xvfb-run needed.\nFor large-scale crawls, use the Spider API (see Scrapling docs)."
      }
    ],
    "body": "Scrapling Skill\n\nSource: https://github.com/D4Vinci/Scrapling (open source, MIT-like license) PyPI: scrapling — install before first use (see below)\n\n⚠️ Only scrape sites you have permission to access. Respect robots.txt and Terms of Service. Do not use stealth modes to bypass paywalls or access restricted content without authorization.\n\nInstallation (one-time, confirm with user before running)\npip install scrapling[all]\npatchright install chromium  # required for stealth/dynamic modes\n\nscrapling[all] installs patchright (a stealth fork of Playwright, bundled as a PyPI package — not a typo), curl_cffi, MCP server deps, and IPython shell.\npatchright install chromium downloads Chromium (~100 MB) via patchright's own installer (same mechanism as playwright install chromium).\nConfirm with user before running — installs ~200 MB of dependencies and browser binaries.\nScript\n\nscripts/scrape.py — CLI wrapper for all three fetcher modes.\n\n# Basic fetch (text output)\npython3 ~/skills/scrapling/scripts/scrape.py <url> -q\n\n# CSS selector extraction\npython3 ~/skills/scrapling/scripts/scrape.py <url> --selector \".class\" -q\n\n# Stealth mode (Cloudflare bypass) — only on sites you're authorized to access\npython3 ~/skills/scrapling/scripts/scrape.py <url> --mode stealth -q\n\n# JSON output\npython3 ~/skills/scrapling/scripts/scrape.py <url> --selector \"h2\" --json -q\n\nFetcher Modes\nhttp (default) — Fast HTTP with browser TLS fingerprint spoofing. Most sites.\nstealth — Headless Chrome with anti-detect. For Cloudflare/anti-bot.\ndynamic — Full Playwright browser. For heavy JS SPAs.\nWhen to Use Each Mode\nweb_fetch returns 403/429/Cloudflare challenge → use --mode stealth\nPage content requires JS execution → use --mode dynamic\nRegular site, just need text/data → use --mode http (default)\nPython Inline Usage\n\nFor custom logic beyond the CLI, write inline Python. See references/patterns.md for:\n\nAdaptive scraping (auto_save / adaptive — saves element fingerprints locally)\nSession/cookie handling\nAsync usage\nXPath, find_similar, attribute extraction\nNotes\nMCP server (scrapling mcp): starts a local network service for AI-native scraping. Only start if explicitly needed and trusted — it exposes a local HTTP server.\nauto_save=True: persists element fingerprints to disk for adaptive re-scraping. Creates local state in working directory.\nStealth/dynamic modes use Chromium headless — no xvfb-run needed.\nFor large-scale crawls, use the Spider API (see Scrapling docs)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Damirikys/scrapling-fetcher",
    "publisherUrl": "https://clawhub.ai/Damirikys/scrapling-fetcher",
    "owner": "Damirikys",
    "version": "1.0.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/scrapling-fetcher",
    "downloadUrl": "https://openagent3.xyz/downloads/scrapling-fetcher",
    "agentUrl": "https://openagent3.xyz/skills/scrapling-fetcher/agent",
    "manifestUrl": "https://openagent3.xyz/skills/scrapling-fetcher/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/scrapling-fetcher/agent.md"
  }
}