mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge prior to trunk merge.
This commit is contained in:
parent
26a4308b02
commit
ce89a41b1f
@ -667,7 +667,7 @@ class BasicNewsRecipe(Recipe):
|
||||
|
||||
|
||||
def _postprocess_html(self, soup, first_fetch, job_info):
|
||||
print 'soup in _postprocess_html is: ', soup
|
||||
#print 'soup in _postprocess_html is: ', soup
|
||||
if self.no_stylesheets:
|
||||
for link in list(soup.findAll('link', type=re.compile('css')))+list(soup.findAll('style')):
|
||||
link.extract()
|
||||
|
Loading…
x
Reference in New Issue
Block a user