selectolax icon indicating copy to clipboard operation
selectolax copied to clipboard

Python binding to Modest and Lexbor engines (fast HTML5 parser with CSS selectors).

Results 41 selectolax issues
Sort by recently updated
recently updated
newest added

Without mypy refuses to load the type definitions :/

Hello, I am testing this toy example ``` from selectolax.parser import HTMLParser html_str = """ this is a test Heading """ selectolax_tree = HTMLParser(html_str) for node in selectolax_tree.root.traverse(include_text=True): print(f"Node tag:...

Hi Selectolax! I'm using selectolax very usefull. I've found some problem. When I use html with self closing iframe tag() selectolax can not find elements after this. This is example...

Hello there Mr.Selectolax :) I have been using selectolax for a very long time and I do really like it and will continue using it. I have found a small...

For some reason I get this type error in VS Code although `selectolax/parser.pyi` seems to be read just fine. Anyone have an idea why I get that error? ![Screenshot 2022-03-22...

- [GNU Lesser General Public License v2.1](https://github.com/lexborisov/Modest/blob/master/LICENSE) of Modest - [MIT](https://github.com/rushter/selectolax/blob/master/LICENSE) of selectolax

Hello! I admire this amazing package where it has helped me both with work and also better knowledge! Its amazing! I would like to give a suggestion and maybe this...

As far as I can tell, there's no easy way to extract text but preserve HTML entity encoding at the moment. Having that option would be handy! ``` from selectolax.parser...

It seems that `node.text()` does not respect the mutated node after calling `node.unwrap_tags`. I'd expect the following to pass ```python from selectolax.parser import HTMLParser tree = HTMLParser("JohnDoe") tree.unwrap_tags(["strong"]) node =...

To check if two nodes are equal, we try to compare the html tag of them. But here the tag of its children also comes in the output. Please add...