# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
from __future__ import unicode_literals
from calibre.web.feeds.recipes import BasicNewsRecipe

class pesRecipe(BasicNewsRecipe):
    __author__  = 'bubak'
    title = u'Neviditelný pes'
    publisher = u''
    description = u'Neviditelný pes'
    oldest_article = 1
    max_articles_per_feed = 20
    use_embedded_content = False
    remove_empty_feeds = True

    feeds = [
            (u'Neviditelný pes', u'http://neviditelnypes.lidovky.cz/export/rss.asp?c=pes_neviditelny')
            ]


    #encoding = 'iso-8859-2'
    language = 'cs'
    cover_url = 'http://g.zpravy.cz/o/pes/logo_pes.jpg'
    remove_javascript = True
    no_stylesheets = True
    extra_css             = """
                            """

    remove_tags = []
    remove_tags_before = dict(name='div', attrs={'id':'art-full'})
    remove_tags_after = dict(name='div', attrs={'id':'authors'})


