| 1 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class AdvancedUserRecipe1313555075(BasicNewsRecipe): |
| 5 |
news = True |
| 6 |
title = 'The Clinic' |
| 7 |
__author__ = 'Alex Mitrani' |
| 8 |
description = 'Online version of Chilean satirical weekly' |
| 9 |
publisher = 'The Clinic' |
| 10 |
category = 'news, politics, Chile, rss' |
| 11 |
oldest_article = 7 |
| 12 |
max_articles_per_feed = 100 |
| 13 |
summary_length = 1000 |
| 14 |
language = 'es_CL' |
| 15 |
|
| 16 |
remove_javascript = True |
| 17 |
no_stylesheets = True |
| 18 |
use_embedded_content = False |
| 19 |
remove_empty_feeds = True |
| 20 |
masthead_url = 'http://www.theclinic.cl/wp-content/themes/tc12m/css/ui/mainLogoTC-top.png' |
| 21 |
remove_tags_before = dict(name='article', attrs={'class': 'scope bordered'}) |
| 22 |
remove_tags_after = dict(name='div', attrs={'id': 'commentsSection'}) |
| 23 |
remove_tags = [ |
| 24 |
dict(name='span', attrs={'class': 'relTags'}), |
| 25 |
dict(name='div', attrs={'class': 'articleActivity hdcol'}), |
| 26 |
dict(name='div', attrs={'id': 'commentsSection'}), # noqa: E501 |
| 27 |
] |
| 28 |
|
| 29 |
feeds = [('The Clinic Online', 'http://www.theclinic.cl/feed/')] |