From b3e96eabab65e4e202f2c93b23e338ec25a1136a Mon Sep 17 00:00:00 2001 From: topynate Date: Sat, 19 Dec 2020 05:53:28 +0200 Subject: [PATCH] Add missing fields to substack recipe --- recipes/substack.recipe | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/recipes/substack.recipe b/recipes/substack.recipe index d858abb484..0f08290775 100644 --- a/recipes/substack.recipe +++ b/recipes/substack.recipe @@ -9,9 +9,12 @@ ## __license__ = 'GNU General Public License v3 – https://www.gnu.org/licenses/gpl-3.0.html' -__copyright__ = 'Nathan Cook – 2020-12-18' -__version__ = 'v0.1.0' -__date__ = '2020-12-18' +__copyright__ = 'Nathan Cook – 2020-12-19' +__version__ = 'v0.1.1' +__date__ = '2020-12-19' +__author__ = 'topynate' + +language = 'en' from calibre.web.feeds.news import BasicNewsRecipe @@ -20,9 +23,11 @@ from mechanize import Request class Substack(BasicNewsRecipe): title = 'Substack' + __author__ ='topynate' oldest_article = 7 max_articles_per_feed = 100 auto_cleanup = True + needs_subscription = 'optional' # Every Substack publication has an RSS feed at https://{name}.substack.com/feed. # The same URL provides either all posts, or all free posts + previews of paid posts,