mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update The Toronto Star
This commit is contained in:
parent
ee97edc94d
commit
38279c5280
@ -28,15 +28,17 @@ 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'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user