mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
b844da69d4
commit
bfd6280c49
@ -112,7 +112,7 @@ class NewYorkTimes(BasicNewsRecipe):
|
|||||||
if use_wayback_machine and not skip_wayback:
|
if use_wayback_machine and not skip_wayback:
|
||||||
from calibre import browser
|
from calibre import browser
|
||||||
return self.nyt_parser.download_url(url, browser())
|
return self.nyt_parser.download_url(url, browser())
|
||||||
return self.browser.open_novisit(url).read()
|
return self.index_to_soup(url)
|
||||||
|
|
||||||
def preprocess_raw_html(self, raw_html, url):
|
def preprocess_raw_html(self, raw_html, url):
|
||||||
if '/interactive/' in url:
|
if '/interactive/' in url:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user