Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lexbor engine: Absence of case insensitive search by attribute value #73

Open
kox-solid opened this issue Nov 7, 2022 · 1 comment
Open

Comments

@kox-solid
Copy link

The next example not found any node:

from selectolax.lexbor import LexborHTMLParser

html = """
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body></body>
</html>
"""

tree = LexborHTMLParser(html)
print(tree.css('meta[http-equiv="content-type"]'))

Modest was case insensitive to search attribute values.

@rushter
Copy link
Owner

rushter commented Dec 17, 2022

I think you need to report it to https://github.com/lexbor/lexbor
Sorry for late response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants