from calibre.web.feeds.news import BasicNewsRecipe


class FactCheckOrg(BasicNewsRecipe):
    title = 'Factcheck'
    __author__ = 'Michael Heinz'
    language = 'en'
    oldest_article = 7
    max_articles_per_feed = 100
    recursion = 0

    publication_type = 'magazine'
    masthead_url = 'http://factcheck.org/wp-content/themes/Streamline/images/headernew.jpg'
    cover_url = 'http://factcheck.org/wp-content/themes/Streamline/images/headernew.jpg'

    remove_tags = [{'id': ['footer', 'footerabout', 'sidebar']}]

    feeds = [('Factcheck', 'feed://www.factcheck.org/feed/')]
