Shinmera/plump

cannot get elements with thead tag

Closed this issue · 2 comments

The following code doesn't get me the vector of plump dom elements of type thead (returns NIL). However, If I change the tag to things like table, caption, or even tbody I do get the expected elements.

Am I overlooking something here? I appreciate the help.

(ql:quickload '("dexador" "plump"))
(defparameter *url* "https://en.wikipedia.org/wiki/Central_America")
(plump:get-elements-by-tag-name (plump:parse (dex:get *url*)) "thead")

Uh, there's just no thead elements in that document, so obviously it can't return any.