We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just curious if soup has anything similar to how BeautifulSoup lets your parse HTML comments in Python?
https://www.crummy.com/software/BeautifulSoup/bs4/doc/#comments-and-other-special-strings
Trying to parse some HTML where some data is commented, and able to do the following in Python:
from bs4 import BeautifulSoup, Comment comments = soup.find_all(text=lambda text: isinstance(text, Comment)) comments_soup = BeautifulSoup(comment, 'lxml')
Is there anything close to that here? Or any chance or adding something like it?
The text was updated successfully, but these errors were encountered:
It's not there currently, but could definitely be a useful feature You're welcome to submit a PR :)
Sorry, something went wrong.
No branches or pull requests
Just curious if soup has anything similar to how BeautifulSoup lets your parse HTML comments in Python?
https://www.crummy.com/software/BeautifulSoup/bs4/doc/#comments-and-other-special-strings
Trying to parse some HTML where some data is commented, and able to do the following in Python:
Is there anything close to that here? Or any chance or adding something like it?
The text was updated successfully, but these errors were encountered: