| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
## |
| 4 |
# Title: The Healthy From Reader's Digest Calibre Recipe |
| 5 |
## |
| 6 |
# License: GNU General Public License v3 - http://www.gnu.org/copyleft/gpl.html |
| 7 |
## |
| 8 |
# Written: June 2022 |
| 9 |
# Last Edited: 2022-06-11 |
| 10 |
## |
| 11 |
|
| 12 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 13 |
|
| 14 |
|
| 15 |
class TheHealthy(BasicNewsRecipe): |
| 16 |
title = 'The Healthy from Readers Digest' |
| 17 |
language = 'en' |
| 18 |
__author__ = 'Stephen Genusa' |
| 19 |
# Get everything in a single file |
| 20 |
# oldest_article = 900 |
| 21 |
# max_articles_per_feed = 900 |
| 22 |
# Get only recent articles |
| 23 |
oldest_article = 14 |
| 24 |
max_articles_per_feed = 100 |
| 25 |
auto_cleanup = True |
| 26 |
|
| 27 |
feeds = [ |
| 28 |
('Allergies', 'https://www.thehealthy.com/allergies/feed'), |
| 29 |
('Alzheimers', 'https://www.thehealthy.com/alzheimers/feed'), |
| 30 |
('Arthritis', 'https://www.thehealthy.com/arthritis/feed'), |
| 31 |
('Back Pain', 'https://www.thehealthy.com/pain/back-pain/feed'), |
| 32 |
('Cancer', 'https://www.thehealthy.com/cancer/feed'), |
| 33 |
('Cold and Flu', 'https://www.thehealthy.com/cold-flu/feed'), |
| 34 |
('Diabetes', 'https://www.thehealthy.com/diabetes/feed'), |
| 35 |
('Fatigue', 'https://www.thehealthy.com/fatigue/feed'), |
| 36 |
('Headaches and Migraines', 'https://www.thehealthy.com/headaches/feed'), |
| 37 |
('Heart Disease', 'https://www.thehealthy.com/heart-disease/feed'), |
| 38 |
('Irritable Bowel Syndrome', 'https://www.thehealthy.com/digestive-health/ibs/feed'), |
| 39 |
('Menopause', 'https://www.thehealthy.com/menopause/feed'), |
| 40 |
('Pain Management', 'https://www.thehealthy.com/pain/feed'), |
| 41 |
('Respiratory Conditions', 'https://www.thehealthy.com/respiratory/feed'), |
| 42 |
('Skin Health', 'https://www.thehealthy.com/skin-health/feed'), |
| 43 |
('Sleep', 'https://www.thehealthy.com/sleep/feed'), |
| 44 |
('Beauty', 'https://www.thehealthy.com/beauty/feed'), |
| 45 |
('Exercise', 'https://www.thehealthy.com/exercise/feed'), |
| 46 |
('Food', 'https://www.thehealthy.com/food/feed'), |
| 47 |
('Nutrition', 'https://www.thehealthy.com/nutrition/feed'), |
| 48 |
('Digestive Health', 'https://www.thehealthy.com/digestive-health/feed'), |
| 49 |
('Vitamins and Supplements', 'https://www.thehealthy.com/nutrition/vitamins/feed'), |
| 50 |
('Weight Loss', 'https://www.thehealthy.com/weight-loss/feed'), |
| 51 |
("Children's Health", 'https://www.thehealthy.com/family/childrens-health/feed'), |
| 52 |
('Family', 'https://www.thehealthy.com/family/feed'), |
| 53 |
('Relationships', 'https://www.thehealthy.com/family/relationships/feed'), |
| 54 |
('Sexual Health', 'https://www.thehealthy.com/sex/feed'), |
| 55 |
('Anxiety', 'https://www.thehealthy.com/mental-health/anxiety/feed'), |
| 56 |
('Depression', 'https://www.thehealthy.com/mental-health/depression/feed'), |
| 57 |
('Healthy Aging', 'https://www.thehealthy.com/aging/healthy-aging/feed'), |
| 58 |
('Aging', 'https://www.thehealthy.com/aging/feed'), |
| 59 |
('Mental Health', 'https://www.thehealthy.com/mental-health/feed'), |
| 60 |
('Mind and Memory', 'https://www.thehealthy.com/aging/mind-memory/feed'), |
| 61 |
('Care Giving', 'https://www.thehealthy.com/healthcare/caregiving/feed'), |
| 62 |
('Eye Care', 'https://www.thehealthy.com/eye-care/feed'), |
| 63 |
('First Aid', 'https://www.thehealthy.com/first-aid/feed'), |
| 64 |
('Health Care', 'https://www.thehealthy.com/healthcare/feed'), |
| 65 |
('Home Remedies', 'https://www.thehealthy.com/home-remedies/feed'), |
| 66 |
('Oral and Dental Care', 'https://www.thehealthy.com/dental/feed'), |
| 67 |
('Self Care', 'https://www.thehealthy.com/mental-health/self-care/feed'), |
| 68 |
] |