this post was submitted on 14 Feb 2024
149 points (96.3% liked)

Open Source

31713 readers
187 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

the title says it all ๐Ÿ˜€

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 10 months ago

Try the package html2text. I haven't used it before, but I think it might be what you're looking for. Interestingly, it was originally developed by Aaron Schwartz, one of the co-founders of markdown.

Other than that I've seen people being pretty successful with a combination of wget and pandoc. I don't know how well that would work in scripts though.