scrapling
Installation
SKILL.md
Scrapling
Adaptive, high-performance Python web scraping library. 774x faster than BeautifulSoup. Auto-relocates elements when websites change structure.
Key capabilities: HTTP/browser fetching, Cloudflare bypass, adaptive selectors, Spider crawling framework, proxy rotation, CLI tools, MCP server for AI agents.
v0.4 breaking changes:
css_first()/xpath_first()are removed — use.css('.sel').firstor.css('.sel').get()instead.css('::text')andcss('::attr()')now returnSelectorobjects (notTextHandler).Response.bodyis alwaysbytes.
Quick Start
from scrapling.fetchers import Fetcher
page = Fetcher.get('https://example.com')
titles = page.css('.title::text')
links = page.css('a.link::attr(href)').getall()