from calibre.web.feeds.news import BasicNewsRecipe


class ParisReview(BasicNewsRecipe):
    title = 'The Paris Review Blog'
    __author__ = 'fenuks'
    description = 'The Paris Review is a literary magazine featuring original writing, art, and in-depth interviews with famous writers.'
    # cover_url      = ''
    category = 'culture'
    language = 'en'
    encoding = 'utf-8'
    oldest_article = 8
    max_articles_per_feed = 100
    no_stylesheets = True
    remove_empty_feeds = True
    ignore_duplicate_articles = {'title', 'url'}
    remove_javascript = True
    use_embedded_content = True
    # extra_css      = ''
    # preprocess_regexps = []
    # remove_attributes = ['style',]
    # keep_only_tags = []
    remove_tags = []
    # remove_tags_before = {}
    remove_tags_after = {}
    feeds = [('Posts', 'http://feeds.feedburner.com/TheParisReviewBlog')]
