#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1718003855(BasicNewsRecipe):
    title          = 'Greatist'
    language = 'en'
    __author__ = 'Spicy Poison'
    description = 'To help you discover what works for you and how to apply it.'
    publisher = 'Healthline Media'
    oldest_article = 30
    max_articles_per_feed = 50
    ignore_duplicate_articles = {'title', 'url'}
    encoding = 'utf-8'
    masthead_url = 'https://post.greatist.com/wp-content/uploads/sites/2/2019/05/greatist-new-logo.jpg'
    remove_empty_feeds = True
    auto_cleanup   = True

    feeds          = [
        ('All Articles', 'https://greatist.com/feed'),
    ]
