From 24c5273e33cf7d1da52804eff705885b09d76110 Mon Sep 17 00:00:00 2001 From: windlejacob12 Date: Sun, 4 Sep 2022 05:27:01 -0400 Subject: [PATCH] Correct host value --- src/com_jakewindle_git/scraper.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com_jakewindle_git/scraper.clj b/src/com_jakewindle_git/scraper.clj index a877939..7f0c4ba 100644 --- a/src/com_jakewindle_git/scraper.clj +++ b/src/com_jakewindle_git/scraper.clj @@ -12,7 +12,7 @@ (not (nil? v))) (defn get-host [url] - (.getHost (new URL))) + (.getHost (URL. url))) (defn new-page [uri] (-> uri