mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Added recipes for Scientific American and Discover Magazine
This commit is contained in:
parent
ba38ad39bf
commit
039f0b855e
@ -9,6 +9,7 @@ recipes = [
|
|||||||
'nytimes', 'usatoday', 'outlook_india', 'bbc', 'greader', 'wsj',
|
'nytimes', 'usatoday', 'outlook_india', 'bbc', 'greader', 'wsj',
|
||||||
'wired', 'globe_and_mail', 'smh', 'espn', 'business_week',
|
'wired', 'globe_and_mail', 'smh', 'espn', 'business_week',
|
||||||
'ars_technica', 'upi', 'new_yorker', 'irish_times', 'iht',
|
'ars_technica', 'upi', 'new_yorker', 'irish_times', 'iht',
|
||||||
|
'discover_magazine', 'scientific_american',
|
||||||
]
|
]
|
||||||
|
|
||||||
import re, imp, inspect, time
|
import re, imp, inspect, time
|
||||||
|
@ -198,7 +198,6 @@ class RecursiveFetcher(object, LoggingInterface):
|
|||||||
except Exception, err:
|
except Exception, err:
|
||||||
self.log_warning('Could not fetch stylesheet %s', iurl)
|
self.log_warning('Could not fetch stylesheet %s', iurl)
|
||||||
self.log_debug('Error: %s', str(err), exc_info=True)
|
self.log_debug('Error: %s', str(err), exc_info=True)
|
||||||
if hasattr(f, 'close'): f.close()
|
|
||||||
continue
|
continue
|
||||||
stylepath = os.path.join(diskpath, 'style'+str(c)+'.css')
|
stylepath = os.path.join(diskpath, 'style'+str(c)+'.css')
|
||||||
with self.stylemap_lock:
|
with self.stylemap_lock:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user