mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
El Mostrador and The Clinic by Alex Mitrani
This commit is contained in:
parent
478cc618f7
commit
14124e8550
40
recipes/el_mostrador.recipe
Normal file
40
recipes/el_mostrador.recipe
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class AdvancedUserRecipe1313609361(BasicNewsRecipe):
|
||||||
|
news = True
|
||||||
|
title = u'El Mostrador'
|
||||||
|
__author__ = 'Alex Mitrani'
|
||||||
|
description = u'Chilean online newspaper'
|
||||||
|
publisher = u'La Plaza S.A.'
|
||||||
|
category = 'news, rss'
|
||||||
|
oldest_article = 7
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
summary_length = 1000
|
||||||
|
language = 'es_CL'
|
||||||
|
remove_javascript = True
|
||||||
|
no_stylesheets = True
|
||||||
|
use_embedded_content = False
|
||||||
|
remove_empty_feeds = True
|
||||||
|
masthead_url = 'http://www.elmostrador.cl/assets/img/logo-elmostrador-m.jpg'
|
||||||
|
remove_tags_before = dict(name='div', attrs={'class':'news-heading cf'})
|
||||||
|
remove_tags_after = dict(name='div', attrs={'class':'footer-actions cf'})
|
||||||
|
remove_tags = [dict(name='div', attrs={'class':'footer-actions cb cf'})
|
||||||
|
,dict(name='div', attrs={'class':'news-aside fl'})
|
||||||
|
,dict(name='div', attrs={'class':'footer-actions cf'})
|
||||||
|
,dict(name='div', attrs={'class':'user-bar','id':'top'})
|
||||||
|
,dict(name='div', attrs={'class':'indicators'})
|
||||||
|
,dict(name='div', attrs={'id':'header'})
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
feeds = [(u'Temas Destacados'
|
||||||
|
, u'http://www.elmostrador.cl/destacado/feed/')
|
||||||
|
, (u'El D\xeda', u'http://www.elmostrador.cl/dia/feed/')
|
||||||
|
, (u'Pa\xeds', u'http://www.elmostrador.cl/noticias/pais/feed/')
|
||||||
|
, (u'Mundo', u'http://www.elmostrador.cl/noticias/mundo/feed/')
|
||||||
|
, (u'Negocios', u'http://www.elmostrador.cl/noticias/negocios/feed/')
|
||||||
|
, (u'Cultura', u'http://www.elmostrador.cl/noticias/cultura/feed/')
|
||||||
|
, (u'Vida en L\xednea', u'http://www.elmostrador.cl/vida-en-linea/feed/')
|
||||||
|
, (u'Opini\xf3n & Blogs', u'http://www.elmostrador.cl/opinion/feed/')
|
||||||
|
]
|
||||||
|
|
27
recipes/the_clinic_online.recipe
Normal file
27
recipes/the_clinic_online.recipe
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class AdvancedUserRecipe1313555075(BasicNewsRecipe):
|
||||||
|
news = True
|
||||||
|
title = u'The Clinic'
|
||||||
|
__author__ = 'Alex Mitrani'
|
||||||
|
description = u'Online version of Chilean satirical weekly'
|
||||||
|
publisher = u'The Clinic'
|
||||||
|
category = 'news, politics, Chile, rss'
|
||||||
|
oldest_article = 7
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
summary_length = 1000
|
||||||
|
language = 'es_CL'
|
||||||
|
|
||||||
|
remove_javascript = True
|
||||||
|
no_stylesheets = True
|
||||||
|
use_embedded_content = False
|
||||||
|
remove_empty_feeds = True
|
||||||
|
masthead_url = 'http://www.theclinic.cl/wp-content/themes/tc12m/css/ui/mainLogoTC-top.png'
|
||||||
|
remove_tags_before = dict(name='article', attrs={'class':'scope bordered'})
|
||||||
|
remove_tags_after = dict(name='div', attrs={'id':'commentsSection'})
|
||||||
|
remove_tags = [dict(name='span', attrs={'class':'relTags'})
|
||||||
|
,dict(name='div', attrs={'class':'articleActivity hdcol'})
|
||||||
|
,dict(name='div', attrs={'id':'commentsSection'})
|
||||||
|
]
|
||||||
|
|
||||||
|
feeds = [(u'The Clinic Online', u'http://www.theclinic.cl/feed/')]
|
Loading…
x
Reference in New Issue
Block a user