This commit is contained in:
Kovid Goyal 2024-06-02 11:10:58 +05:30
commit f1a9d86963
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class Espresso(BasicNewsRecipe):
description = ( description = (
'Espresso is a rich, full-flavoured shot of daily global analysis' 'Espresso is a rich, full-flavoured shot of daily global analysis'
' from the editors of The Economist to get you up to speed, fast.' ' 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.' 'economic, political and cultural developments globally.'
) )

View File

@ -72,7 +72,7 @@ class Slate(BasicNewsRecipe):
from datetime import date from datetime import date
soup = self.index_to_soup(url) soup = self.index_to_soup(url)
ans = [] 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)}): for a in soup.findAll('a', attrs={'href':lambda x: x and x.startswith(url + dt)}):
url = a['href'] url = a['href']
head = a.find(attrs={'class':[ head = a.find(attrs={'class':[