From 0b5a63ba8613169992b5a17602591c84bd0f048d Mon Sep 17 00:00:00 2001 From: Aaron Fischer Date: Wed, 10 Jun 2015 23:15:53 +0200 Subject: [PATCH] Skip SSL warnings --- src/buchdesmonats/core.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buchdesmonats/core.clj b/src/buchdesmonats/core.clj index 7550047..74ae32b 100644 --- a/src/buchdesmonats/core.clj +++ b/src/buchdesmonats/core.clj @@ -51,8 +51,8 @@ (str/replace #"[^a-z0-9-_.]" "") (#(io/file target-dir %))))) -(defn scrape-book-urls [github-url] - (->> (http-client/get github-url) +(defn scrape-book-urls [datasource-url] + (->> (http-client/get datasource-url {:insecure? true}) :body str/split-lines (map #(second (re-find #"^\* .*\[.+\]\((.+)\)" %)))