Extract clean article content from any URL and convert it to readable Markdown.
web2md https://example.com/article
web2md https://example.com/article -o article.md
web2md https://example.com/article --summary
pip install web2md
web2md <url> -o ~/Documents/reading/<slug>.md
web2md <url> --summary --ai -o article.md
web2md urls.txt --batch -d output/
web2md uses readability-lxml to extract the main article content (stripping ads, nav, sidebars) and markdownify to convert the HTML to clean Markdown. It preserves headings, links, lists, and text formatting while removing clutter.
For batch mode, image download, and AI features:
共 1 个版本