if you were faced with something like this how would you remove it?
take a look at link :
http://www.nfl.com/gamecenter/201009...cap/full-story
notice it has the fantasy football in it..
I've tried doing a
Code:
remove_tags =[dict(attrs={'style':[""]})]
I even tried
Code:
def postprocess_html(self, soup):
for tag in soup.findAll(attrs ={'style':[' ']}):
tag.extract()
return soup
all with no sucess. Am I just picking hard stuff to figure out or just common problems with someone just learning this stuff?