| 1 |
## |
| 2 |
## Written: 2013-02-05 |
| 3 |
## Version: v4.1 |
| 4 |
## Last update: 2013-02-05 V3, 2020-07-05 v4, 2023-06-16 v4.1 |
| 5 |
## |
| 6 |
__license__ = 'GPL v3' |
| 7 |
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>' |
| 8 |
|
| 9 |
''' |
| 10 |
Fetch fluter.de |
| 11 |
''' |
| 12 |
|
| 13 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 14 |
|
| 15 |
|
| 16 |
class AdvancedUserRecipe1313693926(BasicNewsRecipe): |
| 17 |
title = ' fluter. ' |
| 18 |
description = 'fluter.de Magazin der Bundeszentrale für politische Bildung/bpb' |
| 19 |
language = 'de' |
| 20 |
encoding = 'UTF-8' |
| 21 |
|
| 22 |
__author__ = 'Armin Geller' # 2013-02-05 V3 |
| 23 |
|
| 24 |
oldest_article = 14 |
| 25 |
max_articles_per_feed = 50 |
| 26 |
auto_cleanup = False |
| 27 |
|
| 28 |
feeds = [('Inhalt:', 'https://www.fluter.de/rss.xml')] |
| 29 |
|
| 30 |
keep_only_tags = [dict(name='article', attrs={'class': 'node node-article block fullWidth stage'})] |
| 31 |
|
| 32 |
remove_tags = [dict(name='h2', attrs={'class': 'element-invisible'})] |
| 33 |
|
| 34 |
extra_css = ''' |
| 35 |
.field-group-format, .group_additional_info, .additional-info {display: inline-block; min-width: 8rem; text-align: center} |
| 36 |
''' |