mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 10:53:43 +02:00
...
This commit is contained in:
parent
d2ba1812bb
commit
ab264422d3
1 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ def get_text(extra, x):
|
|||
|
||||
mi = Metadata(title_, authors)
|
||||
try:
|
||||
raw = browser.open(id_url).read()
|
||||
raw = browser.open_novisit(id_url).read()
|
||||
feed = etree.fromstring(raw)
|
||||
extra = entry(feed)[0]
|
||||
except:
|
||||
|
|
@ -129,7 +129,7 @@ def run(self):
|
|||
for i in self.entries:
|
||||
try:
|
||||
ans = to_metadata(self.browser, self.log, i)
|
||||
if ans is not None:
|
||||
if isinstance(ans, Metadata):
|
||||
self.result_queue.put(ans)
|
||||
except:
|
||||
self.log.exception(
|
||||
|
|
|
|||
Loading…
Reference in a new issue