mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
7980be7dd5
commit
b844da69d4
Binary file not shown.
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 416 B |
@ -339,11 +339,6 @@ class NewYorkTimes(BasicNewsRecipe):
|
|||||||
]
|
]
|
||||||
return br
|
return br
|
||||||
|
|
||||||
def get_article_url(self, article):
|
|
||||||
url = BasicNewsRecipe.get_article_url(self, article)
|
|
||||||
if not '/video/' in url:
|
|
||||||
return url
|
|
||||||
|
|
||||||
def preprocess_html(self, soup):
|
def preprocess_html(self, soup):
|
||||||
w = self.recipe_specific_options.get('res')
|
w = self.recipe_specific_options.get('res')
|
||||||
if w and isinstance(w, str):
|
if w and isinstance(w, str):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user