mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
38 lines
1.8 KiB
Plaintext
38 lines
1.8 KiB
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class AdvancedUserRecipe1292550626(BasicNewsRecipe):
|
|
title = 'The Sage News - Opinion'
|
|
__author__ = 'Brian Hahn'
|
|
description = 'News without boundaries, Opinion'
|
|
oldest_article = 200
|
|
max_articles_per_feed = 150
|
|
no_stylesheets = True
|
|
use_embedded_content = False
|
|
publisher = 'The Sage News Network'
|
|
category = 'News, Alberta, Canada'
|
|
language = 'en_CA'
|
|
encoding = 'iso-8859-1'
|
|
cover_url = 'http://www.sagenews.ca/images/opinion-cover.jpg'
|
|
remove_tags_before = dict(id='ContentPanel')
|
|
remove_tags_after = dict(id='ContentPanel')
|
|
remove_tags = [dict(name='div', attrs={'id': 'BottomAds'}), dict(name='div', attrs={
|
|
'id': 'moreStories'}), dict(name='div', attrs={'id': 'StoryNavigation'})]
|
|
extra_css = 'img { margin:5px }'
|
|
feeds = [
|
|
('Editorial Comment', 'http://www.sagenews.ca/Editorial%20Comment.rss'),
|
|
('Grumpy Old Man', 'http://www.sagenews.ca/Grumpy%20Old%20Man.rss'),
|
|
('Bad Girl', 'http://www.sagenews.ca/Bad%20Girl.rss'),
|
|
('Around the Edges with Dixie',
|
|
'http://www.sagenews.ca/Around%20the%20Edges%20with%20Dixie.rss'),
|
|
('Man Vs. World', 'http://www.sagenews.ca/Man%20Vs.%20World.rss'),
|
|
('Opinion World', 'http://www.sagenews.ca/Opinion-World.rss'),
|
|
('Opinion Politics', 'http://www.sagenews.ca/Opinion-Politics.rss'),
|
|
('Opinion Justice', 'http://www.sagenews.ca/Opinion-Justice.rss'),
|
|
('Opinion Health', 'http://www.sagenews.ca/Opinion-Health.rss'),
|
|
('Opinion Environment', 'http://www.sagenews.ca/Opinion-Environment.rss'),
|
|
('Opinion Living', 'http://www.sagenews.ca/Opinion-Living.rss'),
|
|
('Opinion Sports', 'http://www.sagenews.ca/Opinion-Sports.rss'),
|
|
('Opinion Business', 'http://www.sagenews.ca/Opinion-Business.rss'),
|
|
]
|