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,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')
|
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user