Fix #7431 ("elektrolese" recipe not working)

This commit is contained in:
Kovid Goyal 2010-11-05 16:43:42 -06:00
parent 80f7789244
commit 2e8d2f564f
2 changed files with 1 additions and 39 deletions

View File

@ -1,38 +0,0 @@
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
'''
Fetch elektrolese.
'''
from calibre.web.feeds.news import BasicNewsRecipe
class elektrolese(BasicNewsRecipe):
title = u'elektrolese'
description = 'News about electronic publishing'
__author__ = 'Oliver Niesner'
use_embedded_content = False
timefmt = ' [%a %d %b %Y]'
language = 'de'
oldest_article = 14
max_articles_per_feed = 50
no_stylesheets = True
conversion_options = {'linearize_tables':True}
encoding = 'utf-8'
remove_tags_after = [dict(id='comments')]
filter_regexps = [r'ad\.doubleclick\.net']
remove_tags = [dict(name='div', attrs={'class':'bannerSuperBanner'}),
dict(id='comments'),
dict(id='Navbar1')]
feeds = [ (u'elektrolese', u'http://elektrolese.blogspot.com/feeds/posts/default?alt=rss') ]

View File

@ -4,7 +4,7 @@ class Tagesschau(BasicNewsRecipe):
title = 'Tagesschau' title = 'Tagesschau'
description = 'Nachrichten der ARD' description = 'Nachrichten der ARD'
publisher = 'ARD' publisher = 'ARD'
language = 'de_DE' language = 'de'
__author__ = 'Florian Andreas Pfaff' __author__ = 'Florian Andreas Pfaff'
oldest_article = 7 oldest_article = 7