Add author info to new recipes

This commit is contained in:
Kovid Goyal 2020-09-08 08:33:47 +05:30
parent e990d2fd9b
commit 6c32ac44e6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 6 additions and 2 deletions

View File

@ -2,8 +2,10 @@
# vim:fileencoding=utf-8 # vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1599499742(BasicNewsRecipe): class AdvancedUserRecipe1599499742(BasicNewsRecipe):
title = 'Aftonbladet' title = 'Aftonbladet'
__author__ = 'Jonatan Nyberg'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True

View File

@ -2,8 +2,10 @@
# vim:fileencoding=utf-8 # vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1599382724(BasicNewsRecipe): class AdvancedUserRecipe1599382724(BasicNewsRecipe):
title = 'SVT Nyheter' title = 'SVT Nyheter'
__author__ = 'Jonatan Nyberg'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True