Sample Header Ad - 728x90

curl webpage and convert to markdown

0 votes
1 answer
617 views
having a dilemma with downloading webpages and converting them to markdown, for example: F=$(curl -O --silent https://www.guru3d.com/story/msi-teases-spatium-m560-ssd-with-innovative-nonmetallic-vc-cooling-technology | pandoc --extract-media="./"${F%.*}"_media" --from html --to markdown_strict -o "${F%.*}.md") HTML file downloads fine but the md file that gets created is not given proper name and is of no content. What is wrong in this syntax? Is there maybe some better or easier way of downloading webpages, converting them to markdown and storing html page images locally?
Asked by anon
May 31, 2024, 02:12 PM
Last activity: Jun 4, 2024, 03:50 AM