Thread
:
Cracked.com recipe skips "blog" articles
View Single Post
10-15-2013, 12:16 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,685
Karma: 28549304
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