from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1543143461(BasicNewsRecipe):
    title          = 'Rubikon.de'
    description = 'Nachrichten anders/neutral beleuchtet'
    __author__ = 'schuster'
    __license__ = 'GPL v3'
    version = 1
    oldest_article = 7
    max_articles_per_feed = 100
    auto_cleanup   = True
    no_stylesheets = True
    use_embedded_content = False
    language = 'de'
    remove_javascript = True
    timefmt = ' [%d.%m.%Y]'
    masthead_url = 'https://www.rubikon.news/assets/logo-dd0fcd373a0c872bb432f7596d9e700155c5d7fa07ec99a3777d44621e8c61fe.svg'

    remove_tags = [
            dict(id=['download-pdf']),
            dict(id=['read-article']),
            dict(name='div', attrs={
                'id': ['print_options', 'print_head']}),
            dict(name='div', attrs={'class': ['article-meta']}),
            dict(name='div', attrs={'class': ['article-end']}),
            dict(name='span', attrs={'class': ['lens']})]

    feeds          = [
        ('Alle Artikel', 'https://www.rubikon.news/artikel.atom'),
    ]
