Scrapling là adaptive web scraping framework: tự động adapt khi website thay đổi layout, không cần update selector.
Install
pip install scrapling
scrapling install # install browsers
Quick start
from scrapling import Fetcher
fetcher = Fetcher()
page = fetcher.get('https://example.com')
# Smart element finding — adapts to site changes
products = page.find_all('div.product', auto_match=True)
for p in products:
print(p.find('span.price').text)
Features
- Auto-match selectors khi site thay đổi
- Playwright + requests + httpx backends
- Anti-bot bypass built-in
- Agent Skill available
Source
https://github.com/D4Vinci/Scrapling · ⭐59.8K