Results 71 comments of Artem Golubin

> I don't quite understand so much love for the Modest project. Maybe the name is good :) Some of the features were missing. I need to check what's missing....

> Hi is there any progress on this issue? > > Last update to modest was almost 2 years ago > > And there seems to be a new version...

Please provide an example that hangs. ``` import selectolax.parser html = "" html_parser = selectolax.parser.HTMLParser(html) print(html_parser.root.decompose()) ``` Works fine for me (`.root` is the `` element).

Your code will work if you switch to `lexbor` backed. Why do you need to remove the `html` tag? It's essential for any document and gets automatically created even if...

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

I think I can implement a callback interface so that you can provide a custom function that executes the regex internally.

This is now fixed on master. It will be available in the next release. Sorry for taking so long to fix it.

You can get away with css selectors here: ``` parser = HTMLParser(html) for item in parser.css('td.no_cell a'): print(item.text, item.attributes) ```

> @rushter , nice that worked. what's the best way to grab the text on the same level (`Sun, 16 June 2024, 20:51:11`). i only see it when i do...

I think there is nothing we can do about it. That's how Modest treats them.