-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add lexbor as an alternative backend #42
Comments
Just wanted to say thank you for the 0.2.14 update :) I'm currently checking the code changed and looks nice! Do you think it is worth to change from css to select() instead? Also I know im too fast... but will those new features be added into your documentation? :D Once again, Thank you very much for the awesome update! <3 |
It's better to use it only when you need extra features.
I've added a few examples https://github.com/rushter/selectolax/blob/master/examples/walkthrough.ipynb |
@rushter, hi! Is XPath support planned for the future? |
I don't think so, because XPath is a pretty complex query language. It's basically a programming language. If you need some of the features from XPath, let me know. Some of them can be implemented using the new selector feature. |
In new data extraction projects I decided to experimentally try to replace LXML module with your module, because I liked the performance. But it really lacked Is there any way to do selection by the content of a certain text in the attributes? In XPath it looks something like this: And is there an analogue of |
Yes, you can do that.
No |
Great! Thank you so much! |
(Reposting because I forgot to put graves around the @rushter The primary upside to using XPath, in my opinion, is being able to parse the I'm not sure if you could add a way to allow it to parse the |
Can you show me an example that you can't replicate in selectolax? |
Looks like I screwed up, my mistake. You already do have support for this, I didn't think to try because I didn't see any mention of it in the documentation. Most CSS selection won't parse anything contained within head. Sorry to bother you. |
I know this issue is closed, but maybe it's possible to use something like https://github.com/sissaschool/elementpath |
No description provided.
The text was updated successfully, but these errors were encountered: