This is the full recipe, which continues to pull a generic Calibre cover. Anything I can update to make it work? I'm using the tab key to indent so maybe that's it. Otherwise just pasting in the 'get cover' code as provided. New at building recipes, so likely I'm missing something obvious:
Code:
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1706194709(BasicNewsRecipe):
title = 'Star Tribune Test'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
feeds = [
('Local', 'https://www.startribune.com/local/index.rss2'),
('Sports', 'https://www.startribune.com/sports/index.rss2'),
('Business', 'https://www.startribune.com/business/index.rss2'),
('Politics', 'https://www.startribune.com/politics/index.rss2'),
('Opinion', 'https://www.startribune.com/opinion/index.rss2'),
('Variety', 'https://www.startribune.com/variety/index.rss2'),
('Photography', 'https://www.startribune.com/galleries/index.rss2'),
]
def get_cover_url(self):
from calibre import strftime
cover = 'https://d2dr22b2lm4tvw.cloudfront.net/mn_st/' + strftime("%Y-%m-%d") + '/front-page-large.jpg'
return cover