From 4949f9e6d3371f3f4e3a428deaec4bff795c5812 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Sun, 2 Jun 2024 10:37:33 +0530 Subject: [PATCH] Update Slate --- recipes/economist_espresso.recipe | 2 +- recipes/slate.recipe | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/economist_espresso.recipe b/recipes/economist_espresso.recipe index 63b60ed9ca..cde736a14f 100644 --- a/recipes/economist_espresso.recipe +++ b/recipes/economist_espresso.recipe @@ -117,7 +117,7 @@ class Espresso(BasicNewsRecipe): description = ( 'Espresso is a rich, full-flavoured shot of daily global analysis' ' from the editors of The Economist to get you up to speed, fast.' - 'Maximise your understanding of the most significant business, ' + ' Maximise your understanding of the most significant business, ' 'economic, political and cultural developments globally.' ) diff --git a/recipes/slate.recipe b/recipes/slate.recipe index d262d291a3..6ce9414ee6 100644 --- a/recipes/slate.recipe +++ b/recipes/slate.recipe @@ -72,7 +72,7 @@ class Slate(BasicNewsRecipe): from datetime import date soup = self.index_to_soup(url) ans = [] - dt = date.today().strftime('/%Y/%m') + dt = date.today().strftime('/%Y/') for a in soup.findAll('a', attrs={'href':lambda x: x and x.startswith(url + dt)}): url = a['href'] head = a.find(attrs={'class':[