mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update irish_independent.recipe
removed duplicate feed and articles.
This commit is contained in:
parent
dbc9e64fb3
commit
303a43fc9b
@ -15,6 +15,7 @@ class IrishIndependent(BasicNewsRecipe):
|
|||||||
oldest_article = 2
|
oldest_article = 2
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
|
ignore_duplicate_articles = {'url'}
|
||||||
|
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
dict(name='div', attrs={'class':lambda x: x and '_contentwrapper' in x})
|
dict(name='div', attrs={'class':lambda x: x and '_contentwrapper' in x})
|
||||||
@ -26,7 +27,6 @@ class IrishIndependent(BasicNewsRecipe):
|
|||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
('Frontpage News', 'http://www.independent.ie/rss'),
|
('Frontpage News', 'http://www.independent.ie/rss'),
|
||||||
('News', 'http://www.independent.ie/rss'),
|
|
||||||
('World News', 'http://www.independent.ie/world-news/rss'),
|
('World News', 'http://www.independent.ie/world-news/rss'),
|
||||||
('Opinion', 'http://www.independent.ie/opinion/rss'),
|
('Opinion', 'http://www.independent.ie/opinion/rss'),
|
||||||
('Business', 'http://www.independent.ie/business/rss'),
|
('Business', 'http://www.independent.ie/business/rss'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user