Thread
:
Cracked.com recipe skips "blog" articles
View Single Post
10-14-2013, 11:16 PM
#
2
kovidgoyal
creator of calibre
Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
remove_tags runs after keep_tags so it does not matter where the tag is located. Most likely the tag in question has more than one class, in which case you need
dict(name='section', attrs={'class': lambda x: x and 'socialTools' in x.split()})
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS