The data that I want to extract is from this website https://www.adobe.com/support/security/advisories/apsa11-04.html. I just want to extract
Release date: December 6, 2011 Last updated: January 10, 2012 Vulnerability identifier: APSA11-04 CVE number: CVE-2011-2462
the code:
from bs4 import BeautifulSoup
div = soup.find("div", attrs={"id": "L0C1-body"})
for p in div.findAll("p"):
if p.find('strong'):
print(p.text)
the output:
Release date: December 6, 2011
Last updated: January 10, 2012
Vulnerability identifier: APSA11-04
CVE number: CVE-2011-2462
Platform: All
*Note: Adobe Reader for Android and Adobe Flash Player are not affected by this issue.
I do not want this information. How should I filter it?
Platform: All *Note: Adobe Reader for Android and Adobe Flash Player are not affected by this issue.