Zippy not working… Back in the trenches with Etaoin
deps.edn
{:paths ["script"]
:deps {etaoin/etaoin {:mvn/version "1.0.39"}}
:aliases {:grab {:exec-fn dl/grab}}}
script/dl.clj
(ns dl
(:require [etaoin.api :as e]))
(def links
["https://www28.zippyshare.com/v/xxxxxx/file.html"
"https://www11.zippyshare.com/v/xxxxxx/file.html"
...])
(defn grab
[& _]
(e/with-chrome-headless
d
(doseq [link links]
(e/go d link)
(e/wait d 1)
(e/click d {:css "#dlbutton"})
(e/wait d 30))))
On the command line
clj -X:grab
Shook that works