Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Web Scraping Python Packages

Python packages with the GitHub topic web-scraping. Sorted by monthly downloads, with stars and forks.
lexiforest
curl-cffi

Python binding for curl-impersonate fork via cffi. A http client that can impersonate browser tls/ja3/http2 fingerprints.

34.5M 7K 582
adbar
courlan

Filter, clean, and sample URLs for web crawling, with language, spam, and tracker filters, link extraction, and a URL store for crawl scheduling. Python and CLI

17.9M 183 19
adbar
htmldate

Fast and robust date extraction from web pages, with Python or on the command-line

17.7M 162 43
adbar
trafilatura

Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML

17.2M 7K 523
deedy5
primp

HTTP client that can impersonate web browsers

10.9M 638 68
browser-use
browser-use

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

7.8M 122K 14K
firecrawl
firecrawl-py

Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.

6.7M 212K 11K
rushter
selectolax

Python binding to Modest and Lexbor engines. Fast HTML5 parser with CSS selectors for Python.

6.7M 2K 98
Kaliiiiiiiiii-Vinyzu
patchright

Undetected Python version of the Playwright testing and automation library.

5.1M 2K 125
apify
apify-client

Apify API client for Python—Programmatically run Actors, manage and stream data from storages (datasets, key-value stores, request queues), schedule and monitor runs, and access the full Apify platform API. Sync and async interfaces with automatic retries and pagination.

3.2M 106 25
scrapy
scrapy

Scrapy, a fast high-level web crawling & scraping framework for Python.

3.2M 66K 12K
unclecode
crawl4ai

Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.

1.7M 88K 9K
browserbase
stagehand

The SDK to extract data and interact with any site on the web. Get started with Claude Code, Codex, Eve, Mastra, and more.

1.7M 26K 2K
serpapi
google-search-results

Google Search Results via SERP API pip Python Package

1.6M 761 117
D4Vinci
scrapling

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

1.5M 107K 11K
apify
crawlee

Crawlee—A web scraping and browser automation library for Python to build reliable crawlers. Extract structured data with LLMs via Pydantic AI, or control the browser in natural language with Stagehand. Works with BeautifulSoup, Parsel, Playwright, and raw HTTP. Download HTML, PDF, images, and other files. Proxy rotation included.

1.1M 10K 839
seleniumbase
seleniumbase

SeleniumBase is a framework for Web Testing and Automation. Supports pytest. CDP Mode adds stealth. Includes many tools.

967K 13K 2K
firecrawl
firecrawl

Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.

929K 212K 11K
CloakHQ
cloakbrowser

Stealth Chromium that passes every bot detection test. Drop-in Playwright replacement with source-level fingerprint patches. 50+ tests passed.

500K 33K 3K
spider-rs
spider-client

Python, Javascript, and Rust libraries for the Spider Cloud API.

435K 26 9
scrapfly
scrapfly-sdk

Official Python SDK for the Scrapfly platform: web scraping, screenshots, AI extraction, crawling, and a remote anti-bot browser. Integrates with Scrapy, LlamaIndex, and LangChain.

338K 62 17
ScrapeGraphAI
scrapegraph-py

Official Python SDK for the ScrapeGraph AI API. Smart scraping, search, crawling, markdownify, agentic browser automation, scheduled jobs, and structured data extraction

309K 92 21
apify
apify

Apify SDK for Python—The official library for building Apify Actors: serverless cloud programs for web scraping, browser automation, data processing, and AI agents. Manages the Actor lifecycle, storages (datasets, key-value stores, request queues), events, proxies, and pay-per-event monetization. Built on top of the the Apify API Client.

287K 181 32
steel-dev
steel-sdk

Official Steel SDKs for TypeScript, Python, Go and Rust. Cloud browsers for AI agents.

254K 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology