-
Hello!!! Example:Input html:
Output:(Values of elements)
Output keeping the capitalization:(Values of elements)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
scraper::CaseSensitivity
is used byElement::has_id
andElement::has_class
when checking if an element contains a specific id or class so it's not related to what you get as element values. That depends on HTML serialization and, as element tag names are case insensitive (see https://w3c.github.io/html-reference/documents.html), I think you should avoid treating them as case sensitive