You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sample should contain the contents of the tag <ul class "cves">, which in this case would be rows of <li>-s, listing the CVEs and corresponding fixed version in MariaDB, something like:
Describe the bug
Using soup.find on particular website(s) returns entire html instead of the matching tag(s)
Steps to reproduce the issue
Look for ul tag with attribute class="cves" (<ul class="cves">) on https://mariadb.com/kb/en/security/
sample contains the contents of an entire html
Expected behavior
sample should contain the contents of the tag <ul class "cves">, which in this case would be rows of <li>-s, listing the CVEs and corresponding fixed version in MariaDB, something like:
Environment:
Additional information
Using BeautifulSoup on the same html_dump did get the job done, although the <li>-tags are weirdly nested together.
ul_cves contain strangely nested <li>-s, from which it was still possible to extract the rows of <li>-s I was looking for.
The text was updated successfully, but these errors were encountered: