jsoup icon indicating copy to clipboard operation
jsoup copied to clipboard

Add an abs: pseudo-class selector

Open jhy opened this issue 9 years ago • 0 comments

We should have an abs: pseudo-class selector, so you can select on the absolute URL of an element. I.e. a[abs:href=...], img[abs:src$=...] etc. Now it could only be on the specific href attribute value.

Also could think about doing URL parsing and then able to select on host, path, query, spec, et all.

Like a[host:href=example.com]. You can kind of do that now with the range query, but that's kind of susceptible to input variations.

jhy avatar Nov 03 '16 16:11 jhy