mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
Improved Independet and Telegrah UK
This commit is contained in:
parent
f189ecb193
commit
fcb7fd887e
@ -6,7 +6,7 @@ class TheIndependent(BasicNewsRecipe):
|
|||||||
language = 'en_GB'
|
language = 'en_GB'
|
||||||
__author__ = 'Krittika Goyal'
|
__author__ = 'Krittika Goyal'
|
||||||
oldest_article = 1 #days
|
oldest_article = 1 #days
|
||||||
max_articles_per_feed = 25
|
max_articles_per_feed = 30
|
||||||
encoding = 'latin1'
|
encoding = 'latin1'
|
||||||
|
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
@ -25,24 +25,39 @@ class TheIndependent(BasicNewsRecipe):
|
|||||||
'http://www.independent.co.uk/news/uk/rss'),
|
'http://www.independent.co.uk/news/uk/rss'),
|
||||||
('World',
|
('World',
|
||||||
'http://www.independent.co.uk/news/world/rss'),
|
'http://www.independent.co.uk/news/world/rss'),
|
||||||
('Sport',
|
|
||||||
'http://www.independent.co.uk/sport/rss'),
|
|
||||||
('Arts and Entertainment',
|
|
||||||
'http://www.independent.co.uk/arts-entertainment/rss'),
|
|
||||||
('Business',
|
('Business',
|
||||||
'http://www.independent.co.uk/news/business/rss'),
|
'http://www.independent.co.uk/news/business/rss'),
|
||||||
('Life and Style',
|
|
||||||
'http://www.independent.co.uk/life-style/gadgets-and-tech/news/rss'),
|
|
||||||
('Science',
|
|
||||||
'http://www.independent.co.uk/news/science/rss'),
|
|
||||||
('People',
|
('People',
|
||||||
'http://www.independent.co.uk/news/people/rss'),
|
'http://www.independent.co.uk/news/people/rss'),
|
||||||
|
('Science',
|
||||||
|
'http://www.independent.co.uk/news/science/rss'),
|
||||||
('Media',
|
('Media',
|
||||||
'http://www.independent.co.uk/news/media/rss'),
|
'http://www.independent.co.uk/news/media/rss'),
|
||||||
('Health and Families',
|
('Education',
|
||||||
'http://www.independent.co.uk/life-style/health-and-families/rss'),
|
'http://www.independent.co.uk/news/education/rss'),
|
||||||
('Obituaries',
|
('Obituaries',
|
||||||
'http://www.independent.co.uk/news/obituaries/rss'),
|
'http://www.independent.co.uk/news/obituaries/rss'),
|
||||||
|
|
||||||
|
('Opinion',
|
||||||
|
'http://www.independent.co.uk/opinion/rss'),
|
||||||
|
|
||||||
|
('Environment',
|
||||||
|
'http://www.independent.co.uk/environment/rss'),
|
||||||
|
|
||||||
|
('Sport',
|
||||||
|
'http://www.independent.co.uk/sport/rss'),
|
||||||
|
|
||||||
|
('Life and Style',
|
||||||
|
'http://www.independent.co.uk/life-style/rss'),
|
||||||
|
|
||||||
|
('Arts and Entertainment',
|
||||||
|
'http://www.independent.co.uk/arts-entertainment/rss'),
|
||||||
|
|
||||||
|
('Travel',
|
||||||
|
'http://www.independent.co.uk/travel/rss'),
|
||||||
|
|
||||||
|
('Money',
|
||||||
|
'http://www.independent.co.uk/money/rss'),
|
||||||
]
|
]
|
||||||
|
|
||||||
def preprocess_html(self, soup):
|
def preprocess_html(self, soup):
|
||||||
|
@ -56,6 +56,7 @@ class TelegraphUK(BasicNewsRecipe):
|
|||||||
,(u'Sport' , u'http://www.telegraph.co.uk/sport/rss' )
|
,(u'Sport' , u'http://www.telegraph.co.uk/sport/rss' )
|
||||||
,(u'Earth News' , u'http://www.telegraph.co.uk/earth/earthnews/rss' )
|
,(u'Earth News' , u'http://www.telegraph.co.uk/earth/earthnews/rss' )
|
||||||
,(u'Comment' , u'http://www.telegraph.co.uk/comment/rss' )
|
,(u'Comment' , u'http://www.telegraph.co.uk/comment/rss' )
|
||||||
|
,(u'Travel' , u'http://www.telegraph.co.uk/travel/rss' )
|
||||||
,(u'How about that?', u'http://www.telegraph.co.uk/news/newstopics/howaboutthat/rss' )
|
,(u'How about that?', u'http://www.telegraph.co.uk/news/newstopics/howaboutthat/rss' )
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user