Trafilatura · Open Source

Extract main text, metadata and comments from web pages.

Documentation reviewed; not hands-on tested. Published evidence does not guarantee outcomes.

Official website

Uses and conditions

Primary task
Answer content extraction
Runtime
Python;具体版本参照 PyPI
Inputs and outputs
HTML/URL → 文本、JSON 等结构化内容
Deployment
CLI/库
External dependencies / costs
无需必需账号或付费 API
Paid API required
Unknown / not researched
Account required
Unknown / not researched
Supported scope
抽取网页正文、元数据和评论,支持答案素材与来源处理。
Strengths
适合研究员建立可追溯内容语料
Limitations
抽取可能漏掉动态或特殊布局内容;不是完整 GEO 可见度监测系统
License
Apache-2.0
License scope
repository_core; dependencies and separately licensed editions require separate review
License revision checked
e2f85c965662c7df26b73290ef175b2c2a5fdca6
Additional terms
Unknown / not researched

Repository and installation documentation

Source repository · Documentation
pip install trafilatura;按 README 使用 fetch_url 和 extract

Instructions are supplied for reference and have not been executed. Stars and downloads do not measure quality, security or users.

Independent observations

github_stars
6963 · exact_api_integer · 2026-10-13T15:48:57.918438+00:00

—

GitHub repository stargazers_count; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。

Observation source
github_forks
459 · exact_api_integer · 2026-10-13T15:48:57.918438+00:00

—

GitHub repository forks_count; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。

Observation source
github_archived
false · boolean · 2026-10-13T15:48:57.918438+00:00

—

GitHub repository archived; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。

Observation source
pypi_downloads_30_complete_utc_days
Unknown / not researched · unavailable · 2026-10-13T15:52:01.569024+00:00

2026-09-13T00:00:00Z — 2026-10-13T00:00:00Z

Requested comparable 30-day download window; PyPI JSON metadata does not expose downloads · 未取得官方 BigQuery 同窗口数据;不使用徽章缩写或不同窗口第三方数值替代。

Observation source

Domain-specific research

AEO

Extract main text, metadata and comments from web pages.

Verified: 2026-10-13 · Snapshot: cc9c0b51-ac55-40a1-a35c-710c09ac6eaf

Research cutoff: 2026-10-13

GEO

Extract main text, metadata and comments from web pages.

Verified: 2026-10-13 · Snapshot: 393512c3-3ce1-4c01-aef7-a8ab6d65d093

Research cutoff: 2026-10-13

Sources

Related directories

Published: 2026-10-13T19:19:25.755Z · release_id: 4a188c28-bf2e-4b26-8035-6b5857bd0b9b

Methods and limitations · Editorial and corrections policy