calibre/recipes/welt_der_physik.recipe
Kovid Goyal 567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30

32 lines
839 B
Plaintext

__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
'''
Fetch weltderphysik.de.
'''
from calibre.web.feeds.news import BasicNewsRecipe
class WeltDerPhysikDe(BasicNewsRecipe):
title = 'Welt der Physik'
description = 'Welt der Physik - heute schon geforscht?'
__author__ = 'Bernd Kunze'
use_embedded_content = False
language = 'de'
timefmt = ' [%d %b %Y]'
max_articles_per_feed = 100
no_stylesheets = True
oldest_article = 7
remove_tags = [
dict(name='div', attrs={'id': 'header-top'}),
dict(name='div', attrs={'id': 'logos'}),
dict(name='div', attrs={'id': 'breadcrumb'}),
dict(name='nav', attrs={'id': 'main-menu'}),
dict(name='footer')
]
feeds = [('Welt der Physik', 'http://www.weltderphysik.de/RSS-alles/')]