Open i-blis opened 2 months ago
I have had no success whatsoever in using bootleg as a pod with babashka (v1.3.190).
(require '[babashka.pods :as pods]) (pods/load-pod 'retrogradeorbit/bootleg "0.1.9") (require '[pod.retrogradeorbit.bootleg.utils :as bootleg]) (-> "https://example.com" slurp (bootleg/html->hickory)) ; => "\n"
Parsing fails with all descent HTML file I tried. Same with html->hiccup (and for sure convert-to).
html->hiccup
convert-to
Where as the following code run with JVM Clojure, works without a hitch.
(require '[hickory.core :as h]) (-> "https://example.com" slurp h/parse h/as-hickory) ;=> {:type :document, :content [{:type :document-type, :attrs {:name "html", ...
Any hint as to what's going on?
I have had no success whatsoever in using bootleg as a pod with babashka (v1.3.190).
Parsing fails with all descent HTML file I tried. Same with
html->hiccup
(and for sureconvert-to
).Where as the following code run with JVM Clojure, works without a hitch.
Any hint as to what's going on?