Skip to content

好用的 Python 解析 HTML 库。写爬虫的小伙伴都感受过解析 HTML 的痛苦,常用工具 BeautifulSoup、lxml、Scrapy 的 selector 等。今天你有了新的选择 requests-html,支持 XPath、CSS 选择器、动态页面、过滤指定内容等。上手特别简单和迅速,我的爬虫项目 Hydra 中就用了它,解析 HTML 变得轻松了许多。Pythonic HTML Parsing for Humans™

active 2023-08-152026-04-23 (UTC)

Partial coverage20,517 / 26,273 hourly files (78%) · 2 absent upstream · 5,753 failed, retryable2023-08-152026-08-13 (UTC)— sampled evenly across the window, so rankings and trends hold; absolute counts scale up.
Events
674
Pushes
0
Pull requests
9
Issues
29
Stars
542
Forks
50

Activity over time

Daily event counts in the loaded window

Line chart, 983 days from 2023-08-15 to 2026-04-23. Pushes: 0 total, peak 0 in a day. Pull requests: 9 total, peak 3 in a day. Issues: 29 total, peak 2 in a day. Comments: 44 total, peak 3 in a day. Stars: 542 total, peak 5 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

Recent activity

Latest issues, pull requests and releases

  • Issue#607tomasirb-ai2026-01-23 19:17
    calculadora-k-unda-opazo
  • Issue comment#569Nikhil1729138322025-12-31 18:19
    LXML 5.2.0 breaks import
  • Issue#604shazhome2025-09-18 11:44
    Shaz
  • Issue#602TomasApps7322025-07-02 22:31
    Codes
  • Issue comment#599dwightmulcahy2025-06-25 21:57
    Claim pi
  • Issue#601muaaz-ur-habibi2025-06-13 08:18
    requests-html throwing error RuntimeError: There is no current event loop in thread 'Thread-1 (worker)' when using ThreadPool
  • Issue comment#571jamesjohns012025-04-17 06:50
    OSError: Chromium downloadable not found
  • Issue#599lmadara132025-03-08 11:58
    Claim pi
  • Issue#597GPL1282025-03-05 00:20
    GPL
  • Pull request#596karan961082025-02-01 05:47
  • Issue comment#408jasur-py2025-01-19 06:40
    Add Pyppeteer Args to Session Init
  • Issue#595Aswaffff2025-01-18 19:15
    Birthday wishes
  • Issue#595Aswaffff2025-01-18 19:15
    Birthday wishes
  • Pull request#594jasur-py2025-01-18 06:18
  • Issue comment#566Ishmeet10272025-01-06 07:43
    How to select element in drop-down list
  • Issue comment#571hulitolku2024-12-30 16:39
    OSError: Chromium downloadable not found
  • Issue comment#593immaxlevel2024-12-24 03:54
    Mm
  • Issue#593immaxlevel2024-12-24 03:53
    Mm
  • Pull request#592cboin19962024-12-19 21:26
  • Pull request#592cboin19962024-12-19 21:26
  • Issue comment#576007-JB2024-12-13 21:20
    Basic doc example no longer works
  • Pull request#587akshitbansal20052024-10-01 19:59
  • Pull request#587akshitbansal20052024-10-01 19:59
  • Pull request#587akshitbansal20052024-10-01 19:58
  • Issue#586e-ave2024-09-24 22:05
    Cannot get r.html because session.get(url) returns a requests Session, not an HTMLSession

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 542 stars here means stars gained during the window, not the repo's star count.