elt.get(name=N) is possible to select with NOT ? #2170
Answered
by
BobSquarePants
BobSquarePants
asked this question in
Q&A
-
Hi everyone, I try to catch all the element that have an argument set (so != None ) for example I would like to catch all the element that have the argument ID set. I've tried: document.get(id!=None) but obviously that doesn't work I got Any ideas ? |
Beta Was this translation helpful? Give feedback.
Answered by
BobSquarePants
Mar 10, 2023
Replies: 1 comment
-
document.select('[id]') With the CSS selector :) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BobSquarePants
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the CSS selector :)