Quote:
Originally Posted by lordvetinari2
Thanks, kiklop74. My recipe started similtar to yours (except for the CSS magic), but I soon realised that some sections have different structures.
|
Than you just keep adding classes like this:
Code:
keep_only_tags = [dict(attrs={'class':['content-noticia-title','artigoHeader','ECOSFERA_MANCHETE','noticia','textoPrincipal','ECOSFERA_texto_01']})]