from calibre.web.feeds.news import BasicNewsRecipe

class Dzieje(BasicNewsRecipe):
    title          = u'dzieje.pl'
    __author__        = 'fenuks'
    description   = 'Dzieje - history of Poland'
    cover_url      = 'http://www.dzieje.pl/sites/default/files/dzieje_logo.png'
    category       = 'history'
    language       = 'pl'
    oldest_article = 8
    max_articles_per_feed = 100
    remove_javascript=True
    no_stylesheets= True
    remove_tags_before= dict(name='h1', attrs={'class':'title'})
    remove_tags_after= dict(id='dogory')
    remove_tags=[dict(id='dogory')]
    feeds          = [(u'Dzieje', u'http://dzieje.pl/rss.xml')]
