I am trying to remove captions from my news feed in calibre. how do i do this?
Code:
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1402005755(BasicNewsRecipe):
title = u'NPR News'
__author__ = 'Vincent DiPerna'
oldest_article = 7
max_articles_per_feed = 20
remove_empty_feeds = True
auto_cleanup = True
auto_cleanup_keep = '//div[@class="thumbnail"]'
feeds = [
(u'US News' , u'http://www.npr.org/rss/rss.php?id=1003' )
,(u'World News' , u'http://www.npr.org/rss/rss.php?id=1004' )
,(u'Business' , u'http://www.npr.org/rss/rss.php?id=1006' )
,(u'Technology' , u'http://www.npr.org/rss/rss.php?id=1019' )
,(u'Sports' , u'http://www.npr.org/rss/rss.php?id=1055' )
,(u'Space' , u'http://www.npr.org/rss/rss.php?id=1026' )
,(u'Environment' , u'http://www.npr.org/rss/rss.php?id=1025' )
,(u'Education' , u'http://www.npr.org/rss/rss.php?id=1013' )
]