From db24bf9d5dd37f54c4668a5118fe807dae65b20e Mon Sep 17 00:00:00 2001 From: yodha8 <104330897+yodha8@users.noreply.github.com> Date: Sun, 1 May 2022 06:57:03 -0700 Subject: [PATCH] Add recipe for Cosmos Magazine --- recipes/cosmos.recipe | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes/cosmos.recipe diff --git a/recipes/cosmos.recipe b/recipes/cosmos.recipe new file mode 100644 index 0000000000..39c22359ae --- /dev/null +++ b/recipes/cosmos.recipe @@ -0,0 +1,15 @@ +#!/usr/bin/env python +# vim:fileencoding=utf-8 + +from calibre.web.feeds.news import BasicNewsRecipe + +class CosmosMagazine(BasicNewsRecipe): + title = "Cosmos Magazine" + description = "Cosmos is a quarterly science magazine with 4 editions a year (Mar, Jun, Sep, Dec). It is produced by The Royal Institution of Australia Inc (RiAus)." + oldest_article = 90 + max_articles_per_feed = 100 + auto_cleanup = True + + feeds = [ + ('Cosmos', 'https://cosmosmagazine.com/feed'), + ]