Zum Inhalt springen
TakoAPI
Zurück zu den Skills

scrapling-fetcher

von damirikys

Web & Frontend Development
542Downloadzahlen laut clawskills.sh
0Aufrufe
0 LikesMelde dich an, um diesen Skill zu liken
—Noch nicht bewertet
Deine Bewertung

Kurzbeschreibung

Web scraping using Scrapling — a Python framework with anti-bot bypass (Cloudflare Turnstile, fingerprint.

Beschreibung

Was dieser Skill macht

Scrapling is a Python web scraping framework with built-in anti-bot bypass, including Cloudflare Turnstile handling and browser fingerprint spoofing. It offers three fetcher modes: fast HTTP, stealth headless Chrome, and full dynamic browser for JS-heavy pages. Use it when standard fetch tools return 403s or Cloudflare challenges.

Unlike standard HTTP clients or plain Playwright, Scrapling combines TLS fingerprint spoofing, adaptive element tracking, and Cloudflare bypass in a single tool with a consistent CLI interface.

Wann du ihn einsetzt

  • Extracting product prices from sites that block scrapers
  • Scraping article content from JS-rendered news sites
  • Pulling structured data from pages behind Cloudflare
  • Automating data collection from SPAs with heavy JavaScript
  • Fetching paginated listings when HTTP requests return bot challenges

Beispiel-Workflow

EINGABE

User asks: get all H2 headings from a Cloudflare-protected page as JSON

AGENT
  1. 1

    Run scrape.py with the target URL, --mode stealth, --selector 'h2', and --json flags

  2. 2

    Scrapling launches headless Chromium via patchright with anti-detect settings

  3. 3

    Page loads fully, bypassing Cloudflare challenge

  4. 4

    CSS selector extracts all matching H2 elements

  5. 5

    Results are serialized to JSON and returned

AUSGABE

JSON array of H2 text strings from the page

Voraussetzungen

  • scrapling[all] Python package installed via pip
  • patchright Chromium binary installed via 'patchright install chromium'

Installation

clawhub install damirikys/scrapling-fetcher

Führe den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.

Links