diff --git a/recipes/thestar.recipe b/recipes/thestar.recipe index e08ca0b830..14cd593110 100644 --- a/recipes/thestar.recipe +++ b/recipes/thestar.recipe @@ -28,21 +28,23 @@ class TheTorontoStar(BasicNewsRecipe): masthead_url = 'http://www.thestar.com/etc/designs/thestar/images/general/logoLrg.png' keep_only_tags = [ - classes('article__headline article__subheadline article__body'), + classes('article') ] remove_tags = [ - dict(name=['button', 'style']), - classes('share-toolbar__primary newsletter-box'), + classes('article-continue-basic-container label-modal-bottom'), + dict(name='button') + ] + remove_tags_after = [ + classes('article-content-container') ] feeds = [ - - (u'News', u'http://www.thestar.com/feeds.articles.news.rss'), - (u'Opinion', u'http://www.thestar.com/feeds.articles.opinion.rss'), - (u'Business', u'http://www.thestar.com/feeds.articles.business.rss'), - (u'Sports', u'http://www.thestar.com/feeds.articles.sports.rss'), - (u'Entertainment', u'http://www.thestar.com/feeds.articles.entertainment.rss'), - (u'Living', u'http://www.thestar.com/feeds.articles.life.rss'), - (u'Travel', u'http://www.thestar.com/feeds.articles.life.travel.rss'), - (u'Technology', u'http://www.thestar.com/feeds.articles.life.technology.rss') + (u'News', u'http://www.thestar.com/feeds.articles.news.rss'), + (u'Opinion', u'http://www.thestar.com/feeds.articles.opinion.rss'), + (u'Business', u'http://www.thestar.com/feeds.articles.business.rss'), + (u'Sports', u'http://www.thestar.com/feeds.articles.sports.rss'), + (u'Entertainment', u'http://www.thestar.com/feeds.articles.entertainment.rss'), + (u'Living', u'http://www.thestar.com/feeds.articles.life.rss'), + (u'Travel', u'http://www.thestar.com/feeds.articles.life.travel.rss'), + (u'Technology', u'http://www.thestar.com/feeds.articles.life.technology.rss') ]