| 1 |
from calibre.web.feeds.recipes import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class protagon(BasicNewsRecipe): |
| 5 |
title = 'Protagon' |
| 6 |
__author__ = 'Stelios' |
| 7 |
description = 'Opinion articles in Greek' |
| 8 |
oldest_article = 7 |
| 9 |
max_articles_per_feed = 100 |
| 10 |
publisher = 'Various' |
| 11 |
category = 'GR' |
| 12 |
language = 'el' |
| 13 |
encoding = 'utf8' |
| 14 |
no_stylesheets = True |
| 15 |
use_embedded_content = False |
| 16 |
remove_empty_feeds = True |
| 17 |
|
| 18 |
keep_only_tags = [dict(name='h1', attrs={'id': ['title']}), dict(name='div', attrs={'class': ['freetext']})] |
| 19 |
|
| 20 |
feeds = [('\u0398\u03ad\u03bc\u03b1\u03c4\u03b1', 'http://www.protagon.gr/rss?i=protagon.el.8emata')] |