From 584f05e11c31976e15a75a8d154953ae8e30edc7 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Mon, 6 Nov 2023 13:18:52 +0530 Subject: [PATCH] FT cover --- recipes/financial_times.recipe | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/financial_times.recipe b/recipes/financial_times.recipe index 28534afcfb..aa9163e13d 100644 --- a/recipes/financial_times.recipe +++ b/recipes/financial_times.recipe @@ -44,6 +44,10 @@ class ft(BasicNewsRecipe): classes('in-article-advert') ] + def get_cover_url(self): + soup = self.index_to_soup('https://www.frontpages.com/financial-times/') + return 'https://www.frontpages.com' + soup.find('img', attrs={'id':'giornale-img'})['src'] + # needs_subscription = 'optional' # # def get_browser(self, *args, **kw):