Scrapling: Collect data from websites with Python
Added
Made by Karim shoair
View profile on GitHub (opens in a new tab)Pull text, links and data from web pages or whole sites into files.
For Python developers who need to scrape and crawl websites.
What it does
Scrapling is a Python library that fetches web pages with fast plain requests or a hidden (headless) browser that can render JavaScript and handle Cloudflare Turnstile checks. You then pick out parts of the page with CSS or XPath patterns, text search or regex. Crawlers called spiders visit many pages at once with retries, proxy rotation, pause and resume, and exports to JSON, CSV or XML.
How to use it
Install the Scrapling Python library, then call Fetcher.get with a page address and use page.css to pull out text. For harder sites, use StealthyFetcher to open a headless browser. It also works from the terminal, an interactive shell, or an AI agent through its MCP server, a plug-in connection for AI assistants.
Common use cases
- Give it the quotes.toscrape.com page address and a pattern for quote text, and get back a printed list of every quote on that page.
- Run the example quotes spider on a multi-page site and get every quote and its author saved together in a quotes.json file.
- Point the ShopifySpider template at a public Shopify store and get its products collected, one item per variant, ready to export as CSV.
Can I use this?
Requirements Needs Python and the Scrapling library. Browser-based fetchers launch a headless browser, and the MCP server and Agent Skill let AI agents browse and extract data with it.
Caveat The project's documentation lists sponsored proxy and CAPTCHA-solving services; these are other companies' products, not part of Scrapling itself. Licensed under BSD-3-Clause.
Worth knowing You write Python code to use most features, and following a site's robots.txt crawl rules is an optional setting you must turn on.
Why it's here
- 8,712 people starred it on GitHub this week — 99,615 in total.
Numbers as of 8 November 2026, from BuildTube’s latest daily refresh.
Behind it
View sourceBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is Scrapling?
- Scrapling is a Python library that fetches web pages with fast plain requests or a hidden (headless) browser that can render JavaScript and handle Cloudflare Turnstile checks.
- What can I use Scrapling for?
- Give it the quotes.toscrape.com page address and a pattern for quote text, and get back a printed list of every quote on that page; Run the example quotes spider on a multi-page site and get every quote and its author saved together in a quotes.json file; Point the ShopifySpider template at a public Shopify store and get its products collected, one item per variant, ready to export as CSV
- Can I run Scrapling on my computer?
- It runs on your own computer or server after a local setup.
- What do I need to use Scrapling?
- Python and the Scrapling library; browser-based fetchers open a hidden (headless) browser for each request or session.
- What license does Scrapling use?
- Licensed under BSD-3-Clause.
More from this week
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- Spec Kit Turn a written spec into plans, tasks and code
Spec Kit gives your AI coding agent a step-by-step process to build a feature, fix a bug or assess an idea.
- OpenBot Run AI coworkers with their own browser and files
Give an AI coworker a job, connect the tools it needs and watch it work.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-d4vinci-scrapling/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-d4vinci-scrapling/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Scrapling on BuildTube"></iframe>