Hey guys I'm trying to use beautifulSoup to get the content of a font tag. In the html page I'm parsing the tag I want to get the text from looks like:
<font color="#000000">Text I want to extract</font>
Going off another stackOverFlow question (how to extract text within font tag using beautifulsoup) I'm trying to use
html = urlopen(str(BASE_URL)).read()
soup = BeautifulSoup(html, "lxml")
info=soup('font', color="#000000")
print str(info)
but the print statement only returns []
.
Any idea what I'm doing wrong?