Show HN: I made a tool to clean and convert any webpage to Markdown (opens in a new tab)markdowndown.vercel.app
441 pointsMy partner usually writes substack posts which I then mirror to our website’s blog section.
To automate this, I made a simple tool to scrape the post and clean it so that I can drop it to our blog easily. This might be useful to others as well.
Oh and ofcourse you can instruct GPT to make any final edits :D

Comments (99) 41 threads
Earlier comments1 http://www.html-tidy.org/
2 https://pandoc.org/
I am kind of tempted/horrified to run all of my final templated HTML through this and see if I can spot any lingering malformations. Depending on how structured the corrections are, could make it a test-suite thing.
I build something very similar - smort.io . Just prepend smort.io/ before any article URL to easily edit, annotate and share it with anyone.
Also works on ArXiv papers!
This was the Show HN post for Smort - https://news.ycombinator.com/item?id=30673502
https://jina.ai/reader/
I'm curious, if you care to share, what kind of load this places on your host? Is this something that you can keep going for free or will it eventually become non-cost efficient to keep running?
other than that, gpt4 is expensive, but so far it’s been negligible so i am hopeful.
i feel i can keep it around for long.
With some configuration you can get most of the way there.
Edit -
This is an excellent use of it, a free text human input capable of doing things like extracting summaries. It does not seem to be used at all for the basic task of extracting content, but for post filtering.
Continue this thread — 3 replies
And even when you see how readability parser works, AI handles most of the edge cases that content extractors fail on, so they are genuinely superseded by LLMs.
Continue this thread — 1 reply
Wait, regexes are the epitome of black magic. What do you consider as black magic?
Sure, I could not write a regex engine, but the language itself can be fine if you keep it to straightfoward stuff. Unlike the famous e-mail parsing regex.
All comments shown.
Couldn't load more comments. Check your connection and try again.