Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Selectolax is nice, much faster than bs4 or lxml. Not a very well known project yet though.

Not sure there's anything faster on the javascript side of the fence?



If they beat lxml it is pretty impressive. Too bad that they don't support xpath


Libxml is pretty slow (lxml uses it). Selectolax is 5 times faster for simple CSS queries. It is basically a thin wrapper for a well optimized HTML parser written in C.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: