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.

32M 7K 563
adbar
htmldate

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

14.2M 157 38
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

13.6M 7K 455
deedy5
primp

HTTP client that can impersonate web browsers

9.4M 615 66
rushter
selectolax

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

5.6M 2K 94
firecrawl
firecrawl-py

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

5.5M 190K 10K
scrapy
scrapy

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

4.4M 65K 12K
Kaliiiiiiiiii-Vinyzu
patchright

Undetected Python version of the Playwright testing and automation library.

3.9M 2K 114
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.

2.4M 101 18
serpapi
google-search-results

Google Search Results via SERP API pip Python Package

1.6M 757 118
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.4M 26K 2K
seleniumbase
seleniumbase

📊 API for Browser Automation, E2E Testing, and Web Scraping. CDP Mode is undetectable by anti-bot systems. Makes Playwright stealthy.

1.4M 13K 2K
unclecode
crawl4ai

Open-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key.

1.3M 86K 9K
D4Vinci
scrapling

🕷️ An adaptive 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

929K 87K 9K
CloakHQ
cloakbrowser

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

884K 32K 3K
apify
crawlee

Crawlee—A web scraping and browser automation library for Python to build reliable crawlers. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Parsel, BeautifulSoup, Playwright, and raw HTTP. Both headful and headless mode. With proxy rotation.

849K 10K 808
firecrawl
firecrawl

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

716K 190K 10K
spider-rs
spider-client

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

443K 26 9
ArchiveBox
abx-plugins

đź§© Plugins and extractors that ArchiveBox + abx-dl use: chrome, ytdlp, wget, singlefile, readability, forum-dl, gallery-dl, papers-dl, and more...

363K 17 4
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.

246K 62 17
steel-dev
steel-sdk

The official Python library for the Steel API

245K 34 5
alirezamika
autoscraper

A Smart, Automatic, Fast and Lightweight Web Scraper for Python

218K 8K 831
0x676e67
wreq

An ergonomic, privacy-aware Python HTTP Client

206K 1K 123
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.

204K 180 29
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology