mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Add missing fields to substack recipe
This commit is contained in:
parent
b533715f07
commit
b3e96eabab
@ -9,9 +9,12 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
__license__ = 'GNU General Public License v3 – https://www.gnu.org/licenses/gpl-3.0.html'
|
__license__ = 'GNU General Public License v3 – https://www.gnu.org/licenses/gpl-3.0.html'
|
||||||
__copyright__ = 'Nathan Cook – 2020-12-18'
|
__copyright__ = 'Nathan Cook – 2020-12-19'
|
||||||
__version__ = 'v0.1.0'
|
__version__ = 'v0.1.1'
|
||||||
__date__ = '2020-12-18'
|
__date__ = '2020-12-19'
|
||||||
|
__author__ = 'topynate'
|
||||||
|
|
||||||
|
language = 'en'
|
||||||
|
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
@ -20,9 +23,11 @@ from mechanize import Request
|
|||||||
|
|
||||||
class Substack(BasicNewsRecipe):
|
class Substack(BasicNewsRecipe):
|
||||||
title = 'Substack'
|
title = 'Substack'
|
||||||
|
__author__ ='topynate'
|
||||||
oldest_article = 7
|
oldest_article = 7
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
auto_cleanup = True
|
auto_cleanup = True
|
||||||
|
needs_subscription = 'optional'
|
||||||
|
|
||||||
# Every Substack publication has an RSS feed at https://{name}.substack.com/feed.
|
# 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,
|
# The same URL provides either all posts, or all free posts + previews of paid posts,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user