cannot get elements with thead tag
Closed this issue · 2 comments
shukryzablah commented
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")
Shinmera commented
Uh, there's just no thead elements in that document, so obviously it can't return any.
shukryzablah commented
You're right. I was checking with the inspector that comes in with my
browser and it must be adding those tags to the document.
…On Sat, Feb 8, 2020, 2:06 AM Nicolas Hafner ***@***.***> wrote:
Uh, there's just no thead elements in that document, so obviously it can't
return any.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24?email_source=notifications&email_token=AG3OAIQXWUXYGO3D4Y5ZW2TRBZKXHA5CNFSM4KRXCYA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFLPDA#issuecomment-583710604>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG3OAIW6SP6MGDNMALL754TRBZKXHANCNFSM4KRXCYAQ>
.