mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 04:02:32 +01:00
[pixiv] make retrieving ugoira metadata non-fatal (#6297)
update to 6ae3a5cdb0
catch all exceptions instead of just StopException
This commit is contained in:
parent
3946fe5ac4
commit
c7f0d8945b
@ -108,10 +108,10 @@ class PixivExtractor(Extractor):
|
||||
if self.load_ugoira:
|
||||
try:
|
||||
return self._extract_ugoira(work)
|
||||
except exception.StopExtraction as exc:
|
||||
except Exception as exc:
|
||||
self.log.warning(
|
||||
"Unable to retrieve Ugoira metatdata (%s - %s)",
|
||||
work["id"], exc.message)
|
||||
"%s: Unable to retrieve Ugoira metatdata (%s - %s)",
|
||||
work["id"], exc.__class__.__name__, exc)
|
||||
|
||||
elif work["page_count"] == 1:
|
||||
url = meta_single_page["original_image_url"]
|
||||
|
Loading…
Reference in New Issue
Block a user