#!/usr/bin/env python
__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

    keep_only_tags = [
        dict(name='div', attrs={'class': 'row content'}),
    ]

    feeds = [
        ('Welt der Physik', 'http://www.weltderphysik.de/RSS-alles/'),
    ]
