mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #909280 (Echo_online missing articles)
This commit is contained in:
parent
353fbe117a
commit
83fcb8b96b
@ -6,18 +6,18 @@ Fetch echo-online.de
|
|||||||
|
|
||||||
from calibre.web.feeds.recipes import BasicNewsRecipe
|
from calibre.web.feeds.recipes import BasicNewsRecipe
|
||||||
class Echo_Online(BasicNewsRecipe):
|
class Echo_Online(BasicNewsRecipe):
|
||||||
title = u' Echo Online'
|
title = u'Echo Online' # 2011-12-28 AGe
|
||||||
description = '-Echo Online-'
|
description = '-Echo Online-'
|
||||||
publisher = 'Echo Online GmbH'
|
publisher = 'Echo Online GmbH'
|
||||||
category = 'News, Germany'
|
category = 'News, Germany'
|
||||||
__author__ = 'Armin Geller' # 2011-12-17
|
__author__ = 'Armin Geller' # 2011-12-28 AGe
|
||||||
language = 'de'
|
language = 'de'
|
||||||
lang = 'de-DE'
|
lang = 'de-DE'
|
||||||
encoding = 'iso-8859-1'
|
encoding = 'iso-8859-1'
|
||||||
timefmt = ' [%a, %d %b %Y]'
|
timefmt = ' [%a, %d %b %Y]'
|
||||||
|
|
||||||
oldest_article = 7
|
oldest_article = 7
|
||||||
max_articles_per_feed = 2
|
max_articles_per_feed = 50 # 2011-12-28 AGe
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
auto_cleanup = True
|
auto_cleanup = True
|
||||||
remove_javascript = True
|
remove_javascript = True
|
||||||
@ -42,6 +42,5 @@ class Echo_Online(BasicNewsRecipe):
|
|||||||
remove_tags = [dict(name='div', attrs={'class':["header", "name"]}),]
|
remove_tags = [dict(name='div', attrs={'class':["header", "name"]}),]
|
||||||
auto_cleanup_keep = '//div[@class="bild_gross w270"]'
|
auto_cleanup_keep = '//div[@class="bild_gross w270"]'
|
||||||
|
|
||||||
# cover_url = 'http://profile.ak.fbcdn.net/hprofile-ak-ash2/41801_145340745513489_893927_n.jpg' # 2011-12-16 AGe
|
cover_url = 'http://adcounter.darmstaedter-echo.de/webdav/files/config/gui/images/Zeitungsfaecher.gif'
|
||||||
cover_url = 'http://adcounter.darmstaedter-echo.de/webdav/files/config/gui/images/Zeitungsfaecher.gif' # 2011-12-16 AGe
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user