mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
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/')
|
|
]
|
|
|