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
361 stars 74 forks source link

How to parse this? #66

Closed katesaikishore closed 1 year ago

katesaikishore commented 3 years ago

<div class=" "> This line does not have class how to access this? div. ?

duzun commented 3 years ago

Technically speaking, you are right, this div does not have a class.

Did you try div[class=" "] selector?

duzun commented 1 year ago

See #8b8fd