taoqf / node-html-parser

A very fast HTML parser, generating a simplified DOM, with basic element query support.
MIT License
1.11k stars 107 forks source link

querySelector and querySelectorAll just do not work #103

Closed emyrTomos closed 3 years ago

emyrTomos commented 3 years ago

a selector like 'li' to find all the list elements or 'a[href^="#"]' return empty arrays when elements satisfying the condition exist in the parsed node.

taoqf commented 3 years ago

What's the html like? which version are you using?

emyrTomos commented 3 years ago

i've moved to JSDOM which works just fine. I will come back and help your project when I am done with this. Sorry to be abrupt x

On Tue, 9 Mar 2021 at 04:11, taoqf notifications@github.com wrote:

What's the html like? which version are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/taoqf/node-html-parser/issues/103#issuecomment-793356601, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBZES6DVNLTRLOIJ43ALFDTCWNY3ANCNFSM4YZLALUQ .

nonara commented 3 years ago

Closing for housekeeping. If a reproducible test case is presented, we can reopen and address.