mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update economist_espresso.recipe
This commit is contained in:
parent
971d346cc1
commit
7c95d28ce8
@ -56,6 +56,9 @@ class Espresso(BasicNewsRecipe):
|
||||
),
|
||||
]
|
||||
|
||||
def print_version(self, url):
|
||||
return 'https://webcache.googleusercontent.com/search?q=cache:' + url
|
||||
|
||||
def preprocess_html(self, soup):
|
||||
if h1 := soup.find('h1'):
|
||||
if p := h1.find_next_sibling('p'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user