From 562d2fec96152b52407f3d957ae5607133427431 Mon Sep 17 00:00:00 2001 From: yodha8 <104330897+yodha8@users.noreply.github.com> Date: Wed, 4 May 2022 08:41:32 -0700 Subject: [PATCH] Create recipe for LiveScience.com --- recipes/livescience.recipe | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes/livescience.recipe diff --git a/recipes/livescience.recipe b/recipes/livescience.recipe new file mode 100644 index 0000000000..b4688e9567 --- /dev/null +++ b/recipes/livescience.recipe @@ -0,0 +1,15 @@ +#!/usr/bin/env python +# vim:fileencoding=utf-8 + +from calibre.web.feeds.news import BasicNewsRecipe + +class LiveScience(BasicNewsRecipe): + title = "Live Science" + description = "For the science geek in everyone! Stories on the latest findings from science journals and institutions. Sourced from livescience.com" + oldest_article = 7 + max_articles_per_feed = 100 + auto_cleanup = True + + feeds = [ + ('Live Science All Articles', 'https://www.livescience.com/feeds/all'), + ]