from calibre.web.feeds.news import BasicNewsRecipe


class FactCheckOrg(BasicNewsRecipe):
    title = u'Factcheck'
    __author__ = u'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 = [dict({'id': ['footer', 'footerabout', 'sidebar']})]

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