aaronsw / html2text

Convert HTML to Markdown-formatted text.
http://www.aaronsw.com/2002/html2text/
GNU General Public License v3.0
2.58k stars 410 forks source link

add user-agent,Support gzip decompression #84

Open mylukin opened 10 years ago

mylukin commented 10 years ago

add user-agent,Support gzip decompression

mcepl commented 10 years ago

I don’t think this is a good idea ... I would rather keep html2text down to just Unix-style filter (HTML in, Markdown out). Anything which could be done by other programs should be kept outside of html2text. Frankly, I believe that even the ability to download a remote HTML is a design mistake, and if it was up to me (as it isn't) I would remove it.