diff --git a/src/muneem/etaoin.clj b/src/muneem/etaoin.clj index 0f52877..04364f2 100644 --- a/src/muneem/etaoin.clj +++ b/src/muneem/etaoin.clj @@ -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 {:headless true + :args ["--disable-blink-features=AutomationControlled" "--maximize"] :prefs {:profile.default_content_setting_values.automatic_downloads 1}})) ;:download-dir "./documents/" diff --git a/src/muneem/import.clj b/src/muneem/import.clj index d701748..61677ec 100644 --- a/src/muneem/import.clj +++ b/src/muneem/import.clj @@ -385,5 +385,5 @@ (mapv write-transaction-to-file (drop-last (take-csv csv))) (mapv write-transaction-to-file-savings (drop-last (take-csv csv)))) (write-accounts beancount-file) - (assert-balance (last (take-csv csv)) checking?) + #_(assert-balance (last (take-csv csv)) checking?) (reset! new-accounts #{})) diff --git a/src/muneem/main.clj b/src/muneem/main.clj index ec5f874..518b269 100644 --- a/src/muneem/main.clj +++ b/src/muneem/main.clj @@ -13,9 +13,9 @@ (defn bootstrap [] (import/main "./documents/checking-last-year.csv" true) - (import/main "./documents/checking-this-year.csv" true) + (import/main "./documents/checking-this-year-until-23-nov.csv" true) (import/main "./documents/savings-last-year.csv" false) - (import/main "./documents/savings-this-year.csv" false)) + (import/main "./documents/savings-this-year-until-23-nov.csv" false)) (comment (-main)