कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

playwright-scraper-skill-1-2-0

itsjustfred द्वारा

Web & Frontend Development
429clawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Playwright-based web scraping OpenClaw Skill with anti-bot protection.

विवरण

यह स्किल क्या करती है

Web scraping skill using Playwright with anti-bot bypass techniques. Supports three scraping modes: built-in fetch for simple sites, Playwright Simple for JavaScript-rendered pages, and Playwright Stealth for Cloudflare-protected sites. Stealth mode hides automation markers and uses realistic device user agents.

Playwright Stealth achieves 100% success on Cloudflare-protected sites where standard scrapers, Crawlee, and Puppeteer all fail.

इसे कब इस्तेमाल करें

  • Scraping Cloudflare-protected forums and community sites
  • Extracting content from JavaScript-heavy single-page apps
  • Automating data collection from sites that block standard scrapers
  • Taking screenshots and saving HTML snapshots of dynamic pages
  • Bypassing 403 errors when web_fetch returns blocked responses

उदाहरण वर्कफ़्लो

इनपुट

User asks: scrape the hot posts from https://m.discuss.com.hk/#hot

एजेंट
  1. 1

    Identifies site as Cloudflare-protected based on domain

  2. 2

    Runs playwright-stealth.js with the target URL

  3. 3

    Script injects init scripts to hide navigator.webdriver and sets iPhone user agent

  4. 4

    Waits with randomized delays to mimic human browsing

  5. 5

    Returns JSON output with title and content, plus saves screenshot and HTML

आउटपुट

JSON object with page title, extracted content, and elapsed time; screenshot and HTML saved to disk

इंस्टॉलेशन

clawhub install itsjustfred/playwright-scraper-skill-1-2-0

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक