mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/unkn0w7n/calibre
This commit is contained in:
commit
f1a9d86963
@ -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.'
|
||||
)
|
||||
|
||||
|
@ -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':[
|
||||
|
Loading…
x
Reference in New Issue
Block a user