# 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 metropolRecipe(BasicNewsRecipe):
    __author__ = 'bubak'
    title = u'Metropol TV'
    publisher = u''
    description = 'metropol.cz'
    oldest_article = 1
    max_articles_per_feed = 20
    use_embedded_content = False

    feeds = [
        (u'Metropolcv.cz', u'http://www.metropol.cz/rss/')
    ]

    language = 'cs'
    cover_url = 'http://www.metropol.cz/public/css/../images/logo/metropoltv.png'
    remove_javascript = True
    no_stylesheets = True
    extra_css             = """
                            """

    remove_attributes = []

    keep_only_tags = [dict(name='div', attrs={'id': ['art-full']})]
