scrapling

SKILL.md

Scrapling

Extract structured website data with resilient selection patterns, adaptive relocation, and the right Scrapling fetcher mode for each target.

Workflow

  1. Identify target type before writing code:
    • Use Fetcher for static pages and API-like HTML responses.
    • Use DynamicFetcher when JavaScript rendering is required.
    • Use StealthyFetcher when anti-bot protection or browser fingerprinting issues are likely.
  2. Choose output contract first:
    • Return JSON for pipelines/automation.
    • Return Markdown/text for summarization or RAG ingestion.
    • Keep stable field names even if selector strategy changes.
  3. Implement selectors in this order:
    • Start with CSS selectors and pseudo-elements (for example ::text, ::attr(href)).
    • Fall back to XPath for ambiguous DOM structure.
    • Enable adaptive relocation for brittle or changing pages.
  4. Add safety controls:
Installs
22
First Seen
Mar 13, 2026