-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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).
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?
Metadata
Metadata
Assignees
Labels
No labels