# psf/requests-html

Pythonic HTML Parsing for Humans™

Repository: https://github.com/psf/requests-html
Canonical: https://ross.abutalabs.com/products/requests-html
Homepage: http://html.python-requests.org
Language: Python
License: MIT
License Family: permissive
Topics: html, scraping, python, requests, http, kennethreitz, lxml, pyquery, css-selectors, beautifulsoup
Last push: 2024-04-16T18:50:38+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3112, "days_push": 869, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13814, forks 999 (observed 2026-08-28T04:11:04.886160+00:00)

## What it is
A Python library that combines HTTP requests with intuitive HTML parsing, offering CSS selector and XPath support plus JavaScript rendering via Chromium. It provides both sync and async sessions with a Requests-like API.

## Use cases
- scrape data from web pages in python
- parse html with css selectors
- render javascript-heavy pages before scraping
- extract all links from a webpage
- fetch and parse multiple sites concurrently
- convert html elements to markdown

## When to choose
- you want a Requests-style API with built-in HTML parsing
- you need simple scraping with optional JS rendering
- you want both sync and async scraping in one library

## When to avoid
- you need a large-scale, high-performance scraping framework like Scrapy
- the project appears minimally maintained and depends on outdated pyppeteer
- you only need parsing without HTTP - use BeautifulSoup or lxml directly

## Facets
- artifact type: library
- maturity: maintenance
- function: web-scraping, parser, http-client
- domain: web-development, crawlers, developer-tools
- platform: python, cross-platform
- tags: html-parsing, css-selectors, xpath, javascript-rendering, pyppeteer, async, requests

## Member repositories
- psf/requests-html (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:04.886160+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:01.245024+00:00, confidence not recorded.
  - readme: https://github.com/psf/requests-html (fetched 2026-08-28T04:11:04.886160+00:00, sha 4ac75803bbf0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
