ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

playwright-scraper-skill

Playwright-based web scraping OpenClaw Skill with anti-bot protection. Successfully tested on complex sites like Discuss.com.hk.

Why use this skill?

Master web scraping with the Playwright Scraper Skill. Bypass anti-bot protections, handle dynamic JS sites, and extract data efficiently with OpenClaw.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/itsjustfred/playwright-scraper-skill-1-2-0
Or

What This Skill Does

The playwright-scraper-skill is a robust, modular web scraping toolkit for the OpenClaw platform designed to handle everything from basic static pages to complex, heavily protected websites. By leveraging the power of Playwright, it provides three distinct tiers of scraping technology: lightweight native fetching, standard JavaScript-enabled rendering, and advanced stealth mode to bypass aggressive anti-bot protections like Cloudflare. Whether you are extracting data for market research, monitoring forum threads on sites like Discuss.com.hk, or gathering information from dynamic dashboards, this skill provides the necessary flexibility to ensure your automation succeeds where standard scrapers fail.

Installation

To get started, clone the repository into your skills directory. Ensure you have Node.js installed, then run the following commands in your terminal within the skill folder:

  1. cd playwright-scraper-skill
  2. npm install
  3. npx playwright install chromium This installs the required dependencies and the headless Chromium browser engine needed for the dynamic and stealth scraping scripts.

Use Cases

This skill is perfect for developers and data analysts needing reliable access to web data.

  • Regular Dynamic Sites: Use the simple script for pages that require JS to render content.
  • Protected Environments: Utilize the stealth script for websites employing bot detection, such as Cloudflare or Incapsula. It masks your automation signature by rotating User-Agents and setting navigation flags.
  • Mass Data Collection: Integrate these scripts into your OpenClaw agent workflows to automate recurring tasks such as price tracking or sentiment analysis.

Example Prompts

  1. "Fetch the latest hot topic headlines from https://m.discuss.com.hk/#hot using the stealth scraper."
  2. "Use the playwright-simple skill to extract the main content from https://example-dynamic-site.com and summarize it for me."
  3. "OpenClaw, scrape the landing page of https://news-site.com to check for any updates on the current event."

Tips & Limitations

Always start with the built-in web_fetch tool before escalating to Playwright scripts to save system resources. If you face 403 Forbidden errors or anti-bot challenges, immediately switch to the playwright-stealth.js script. Note that stealth browsing takes longer—expect 5-20 seconds per request. For specialized platforms like YouTube or Reddit, consider installing dedicated tools like deep-scraper to avoid unnecessary overhead and improve data extraction quality.

Metadata

Stars2190
Views1
Updated2026-03-07
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-itsjustfred-playwright-scraper-skill-1-2-0": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#scraping#automation#web-crawling#playwright#stealth
Safety Score: 3/5

Flags: network-access, file-write, file-read, code-execution