scrapling
SKILL.md
Scrapling
Extract structured website data with resilient selection patterns, adaptive relocation, and the right Scrapling fetcher mode for each target.
Workflow
- Identify target type before writing code:
- Use
Fetcherfor static pages and API-like HTML responses. - Use
DynamicFetcherwhen JavaScript rendering is required. - Use
StealthyFetcherwhen anti-bot protection or browser fingerprinting issues are likely.
- Use
- 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.
- 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.
- Start with CSS selectors and pseudo-elements (for example
- Add safety controls: