babashka / book

Babashka book

Home Page:https://book.babashka.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

download_html.clj saves full response and not jus tHTML

tebeka opened this issue · comments

The download_html.clj examples saves the result of curl/get to the file. IMO it'll be better to save only the HTML.

Change the last line to:
(write-html file ((get-url url) :body)))

Done, thanks.