Debian Codegraph @

recipes/greatist.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718003855(BasicNewsRecipe):
7 title = 'Greatist'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = 'To help you discover what works for you and how to apply it.'
11 publisher = 'Healthline Media'
12 oldest_article = 30
13 max_articles_per_feed = 50
14 ignore_duplicate_articles = {'title', 'url'}
15 encoding = 'utf-8'
16 masthead_url = 'https://post.greatist.com/wp-content/uploads/sites/2/2019/05/greatist-new-logo.jpg'
17 remove_empty_feeds = True
18 auto_cleanup = True
19
20 feeds = [
21 ('All Articles', 'https://greatist.com/feed'),
22 ]