small fixes
This commit is contained in:
parent
2c820b5895
commit
fd50dfec93
|
@ -3,7 +3,8 @@
|
|||
[clojure.java.shell :refer [sh]]
|
||||
[etaoin.keys :as k]))
|
||||
|
||||
(def driver (e/chrome {:args ["--disable-blink-features=AutomationControlled" "--maximize"]}))
|
||||
(def driver (e/chrome {:args ["--disable-blink-features=AutomationControlled" "--maximize"]
|
||||
:prefs {:profile.default_content_setting_values.automatic_downloads 1}}))
|
||||
;:download-dir "./documents/"
|
||||
|
||||
(defn download-csv
|
||||
|
@ -39,5 +40,5 @@
|
|||
|
||||
(defn move-download
|
||||
[]
|
||||
(sh "mv" "~/Downloads/Transactions.csv" "./documents/checking.csv")
|
||||
(sh "mv" "~/Downloads/Transactions\(1\).csv" "./documents/savings.csv"))
|
||||
(sh "mv" "/home/anish/Downloads/Transactions.csv" "./documents/checking.csv")
|
||||
(sh "mv" "/home/anish/Downloads/Transactions (1).csv" "./documents/savings.csv"))
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
[& _args]
|
||||
(download/download-csv)
|
||||
(download/move-download)
|
||||
(import/main "./documents/checking.csv" true)
|
||||
(import/main "./documents/savings.csv" true))
|
||||
#_(import/main "./documents/checking.csv" true)
|
||||
#_(import/main "./documents/savings.csv" true))
|
||||
|
||||
(-main)
|
||||
|
|
Loading…
Reference in a new issue