Created
October 16, 2021 08:45
-
-
Save arischow/89bdefc41c7070b79744308701a1d741 to your computer and use it in GitHub Desktop.
[BeautifulSoup] #Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tag: bs4.Tag | |
# find tags by one CSS class: | |
soup.select(".classa") | |
# OR (match one of the classes) | |
soup.select(".classa, .classb, .classc") | |
# AND | |
soup.select(".classa.classb.classc") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment