__license__ = 'GPL v3'
from calibre.web.feeds.news import BasicNewsRecipe


class ZnadPlanszy(BasicNewsRecipe):
    title = 'ZnadPlanszy.pl'
    __author__ = 'fenuks'
    description = ''
    language = 'pl'
    cover_url = 'http://znadplanszy.pl/wp-content/uploads/2013/05/logo-znadplanszy.png'
    use_embedded_content = False
    oldest_article = 14
    max_articles_per_feed = 100
    no_stylesheets = True
    remove_empty_feeds = True
    remove_javascript = True
    remove_attributes = ['style', 'font']
    ignore_duplicate_articles = {'title', 'url'}

    keep_only_tags = dict(name='article')
    feeds = [('Wszystkie', 'http://znadplanszy.pl/full-feed/posts/')]
