Update The Toronto Star

This commit is contained in:
Kovid Goyal 2019-05-20 06:33:36 +05:30
parent ee97edc94d
commit 38279c5280
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

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