スキル一覧に戻る
ali

trafilatura

by ali

0🍴 0📅 2026年1月12日
GitHubで見るManusで実行

SKILL.md


name: trafilatura description: "Extract clean article text from websites using trafilatura. Use when you need to read web pages, articles, blog posts, or documentation. Better than WebFetch for article content. Triggers: 'read this URL', 'fetch article', 'extract text from', 'what does this page say'."

Trafilatura - Web Content Extraction

Extract clean, readable text from web pages. Use this instead of WebFetch when you need the actual article content (not a summary).

Installation

uv tool install trafilatura

Basic Usage

Extract article as markdown:

trafilatura -u "https://example.com/article" --markdown

Extract as plain text:

trafilatura -u "https://example.com/article"

With metadata (title, author, date):

trafilatura -u "https://example.com/article" --markdown --with-metadata

When to Use

ScenarioTool
Read an article/blog posttrafilatura
Get verbatim page contenttrafilatura
Quick summary of a pageWebFetch
API docs / technical pagestrafilatura
News articlestrafilatura
Pages behind authNeither (need browser)

Common Patterns

Read and analyze an article:

trafilatura -u "https://blog.example.com/post" --markdown

Then discuss the content with the user.

Research a topic across multiple URLs:

# Run for each URL, compare findings
trafilatura -u "https://site1.com/article" --markdown
trafilatura -u "https://site2.com/article" --markdown

Extract academic paper info:

trafilatura -u "https://arxiv.org/abs/2512.12345" --markdown --with-metadata

Options Reference

FlagPurpose
-u URLURL to fetch
--markdownOutput as markdown (recommended)
--with-metadataInclude title, author, date
--no-commentsExclude comment sections
--no-tablesExclude tables
-o FILEWrite to file instead of stdout

Troubleshooting

Empty output: Page may be JS-rendered (trafilatura can't handle SPAs) Timeout: Large pages may need --timeout 60 Encoding issues: Add --encoding utf-8

vs WebFetch

  • trafilatura: Gets full article text, better for reading/analysis
  • WebFetch: Gets AI summary, better for quick lookups
  • yomu skill: Similar to trafilatura but with different extraction engine

Use trafilatura when you need the actual content, not a summary.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です