diff --git a/deps.edn b/deps.edn index cc944c9..9cc70ed 100644 --- a/deps.edn +++ b/deps.edn @@ -1,7 +1,8 @@ {:paths ["src" "resources"] :deps {org.clojure/clojure {:mvn/version "1.11.1"} clj-http/clj-http {:mvn/version "3.12.3"} - hickory/hickory {:mvn/version "0.7.1"}} + hickory/hickory {:mvn/version "0.7.1"} + re-graph/re-graph {:mvn/version "0.2.0"}} :aliases {:run-m {:main-opts ["-m" "com-jakewindle-git.scraper"]} :run-x {:ns-default com-jakewindle-git.scraper diff --git a/src/com_jakewindle_git/scraper.clj b/src/com_jakewindle_git/scraper.clj index 7f0c4ba..87fc0f7 100644 --- a/src/com_jakewindle_git/scraper.clj +++ b/src/com_jakewindle_git/scraper.clj @@ -8,6 +8,9 @@ (def stat-urls ["https://www.espn.com/nfl/stats/team/_/season/2011/seasontype/2" "https://stats.premierlacrosseleague.com/games/2022/whipsnakes-chaos-2022-6-04"]) +;; NOTE - the PLL GraphQL API can be found here: https://api.stats.premierlacrosseleague.com/graphql +;; use this as your query endpoint + (defn not-nil [v] (not (nil? v)))