from calibre.web.feeds.recipes import BasicNewsRecipe


class SKAI(BasicNewsRecipe):
    title = 'SKAI'
    __author__ = 'Stelios'
    description = 'News from Greece'
    oldest_article = 2
    max_articles_per_feed = 100
    publisher = 'skai.gr'
    category = 'news, GR'
    language = 'el'
    encoding = 'utf8'
    no_stylesheets = True
    use_embedded_content = False
    remove_empty_feeds = True
    keep_only_tags = [dict(name='h1'), dict(name='div', attrs={'class': ['articleText']})]

    feeds = [
        (
            '\u039a\u03c5\u03c1\u03b9\u03cc\u03c4\u03b5\u03c1\u03b5\u03c2 \u0395\u03b9\u03b4\u03ae\u03c3\u03b5\u03b9\u03c2',
            'http://feeds.feedburner.com/skai/Uulu',
        ),
        ('\u0395\u03bb\u03bb\u03ac\u03b4\u03b1', 'http://feeds.feedburner.com/skai/PLwa'),
        ('\u039a\u03cc\u03c3\u03bc\u03bf\u03c2', 'http://feeds.feedburner.com/skai/aqOL'),
        ('\u03a0\u03bf\u03bb\u03b9\u03c4\u03b9\u03ba\u03ae', 'http://feeds.feedburner.com/skai/yinm'),
        ('\u039f\u03b9\u03ba\u03bf\u03bd\u03bf\u03bc\u03af\u03b1', 'http://feeds.feedburner.com/skai/oPUt'),
        ('\u03a4\u03b5\u03c7\u03bd\u03bf\u03bb\u03bf\u03b3\u03af\u03b1', 'http://feeds.feedburner.com/skai/fqsg'),
        ('\u0391\u03b8\u03bb\u03b7\u03c4\u03b9\u03c3\u03bc\u03cc\u03c2', 'http://feeds.feedburner.com/skai/TfmK'),
        ('\u03a5\u03b3\u03b5\u03af\u03b1', 'http://feeds.feedburner.com/skai/TABn'),
        ('\u03a0\u03bf\u03bb\u03b9\u03c4\u03b9\u03c3\u03bc\u03cc\u03c2', 'http://feeds.feedburner.com/skai/ppGl'),
        ('\u0391\u03c5\u03c4\u03bf\u03ba\u03af\u03bd\u03b7\u03c3\u03b7', 'http://feeds.feedburner.com/skai/HCCc'),
        ('\u03a0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03bf\u03bd', 'http://feeds.feedburner.com/skai/jVWs'),
        ('\u03a0\u03b1\u03c1\u03ac\u03be\u03b5\u03bd\u03b1', 'http://feeds.feedburner.com/skai/bpAR'),
    ]
