from calibre.web.feeds.news import BasicNewsRecipe


class Fotoblogia_pl(BasicNewsRecipe):
    title = u'Fotoblogia.pl'
    __author__ = 'fenuks'
    description = u'Jeden z największych polskich blogów o fotografii.'
    category = 'photography'
    language = 'pl'
    masthead_url = 'http://img.interia.pl/komputery/nimg/u/0/fotoblogia21.jpg'
    cover_url = 'http://fotoblogia.pl/images/2009/03/fotoblogia2.jpg'
    oldest_article = 7
    max_articles_per_feed = 100
    no_stylesheets = True
    use_embedded_content = False
    keep_only_tags = [dict(name='article')]
    remove_tags = [dict(attrs={'class': 'article-related'})]
    feeds = [(u'Wszystko', u'http://fotoblogia.pl/feed/rss2')]
