mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #3345 (Please add more sections to "Die Zeit" recipe)
This commit is contained in:
parent
880ac0d3a0
commit
63e13101be
@ -9,20 +9,27 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
class ZeitDe(BasicNewsRecipe):
|
||||
|
||||
|
||||
title = 'Die Zeit Nachrichten'
|
||||
description = 'Die Zeit - Online Nachrichten'
|
||||
language = _('German')
|
||||
__author__ = 'Kovid Goyal'
|
||||
__author__ = 'Kovid Goyal and Martin Pitt'
|
||||
use_embedded_content = False
|
||||
timefmt = ' [%d %b %Y]'
|
||||
max_articles_per_feed = 40
|
||||
no_stylesheets = True
|
||||
encoding = 'latin1'
|
||||
|
||||
|
||||
feeds = [ ('Zeit.de', 'http://newsfeed.zeit.de/news/index') ]
|
||||
|
||||
|
||||
feeds = [ ('Kurznachrichten', 'http://newsfeed.zeit.de/news/index'),
|
||||
('Politik', 'http://newsfeed.zeit.de/politik/index'),
|
||||
('Wirtschaft', 'http://newsfeed.zeit.de/wirtschaft/index'),
|
||||
('Meinung', 'http://newsfeed.zeit.de/meinung/index'),
|
||||
('Gesellschaft', 'http://newsfeed.zeit.de/gesellschaft/index'),
|
||||
('Kultur', 'http://newsfeed.zeit.de/kultur/index'),
|
||||
('Wissen', 'http://newsfeed.zeit.de/wissen/index'),
|
||||
]
|
||||
|
||||
def print_version(self,url):
|
||||
return url.replace('http://www.zeit.de/', 'http://images.zeit.de/text/').replace('?from=rss', '')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user