aaronsw / html2text

Convert HTML to Markdown-formatted text.

Home Page:http://www.aaronsw.com/2002/html2text/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

request: option to skip portions of the body

eadmaster opened this issue · comments

selected using the "class" or "id" attribute:

 html2text --ignore-id="mw-head" --ignore-class="printfooter" "http://en.wikiquote.org/wiki/Special:Random"

I would like to see a similar feature which only view specified items:

html2text --filter-id="External_links" --filter-class="thumb tright" "http://en.wikiquote.org/wiki/Special:Random"