duzun / hQuery.php

An extremely fast web scraper that parses megabytes of invalid HTML in a blink of an eye. PHP5.3+, no dependencies.
https://duzun.me/playground/hquery
MIT License
358 stars 74 forks source link

Support of different attribute selectors #76

Open PavelFil opened 1 year ago

PavelFil commented 1 year ago

I would be useful to support next kinds of attribute selectors:

[attribute~="value"]
[attribute|="value"]
[attribute^="value"]
[attribute$="value"]
[attribute*="value"]
dragonattack commented 1 year ago

I am really surprised these doesn't work in hQuery. @duzun Dumitru, do you still use your library?

duzun commented 1 year ago

I still use this lib in some old and still running projects, but I'm not actively investing time in it. PRs are welcome!