|
Hello!!! Example:Input html: Output:(Values of elements) Output keeping the capitalization:(Values of elements) |
Answered by
cfvescovo
Jul 16, 2024
Replies: 1 comment
|
|
0 replies
Answer selected by
cfvescovo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scraper::CaseSensitivityis used byElement::has_idandElement::has_classwhen 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