[Help] 图片下载失败,求教QaQ #428
LuisSuarez-max
started this conversation in
General
Replies: 1 comment
-
image file could not be identified because WEBP support not installed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
注意事项
你使用的是哪种方式?
Python代码
你的目的?
No response
你遇到的困难?
如下所示,显示图片下载失败,请大佬帮帮忙
额外信息(代码/option配置/截图等)
[2025-04-21 17:03:06] [MainThread]:【api】https://www.cdnblackmyth.xyz/setting
[2025-04-21 17:03:07] [MainThread]:【api.setting】change APP_VERSION from [1.7.8] to [1.7.9]
[2025-04-21 17:03:07] [MainThread]:【api】https://www.cdnblackmyth.xyz/album?id=422866
[2025-04-21 17:03:08] [MainThread]:【album.before】本子获取成功: [422866], 作者: [MANA], 章节数: [1], 总页数: [0], 标题: [[MANA] 神里绫华 1 (原神) [中国语] [无修正]], 关键词: ['无修正', '全彩', '剧情向', '马尾', '巨乳', '中文']
[2025-04-21 17:03:08] [Thread-1]:【api】https://www.cdnblackmyth.xyz/chapter?id=422866
[2025-04-21 17:03:09] [Thread-1]:【api】https://www.cdnblackmyth.xyz/chapter_view_template
[2025-04-21 17:03:09] [Thread-1]:【photo.before】开始下载章节: 422866 (422866[1/1]), 标题: [[MANA] 神里绫华 1 (原神) [中国语] [无修正]], 图片数为[2]
[2025-04-21 17:03:09] [Thread-2]:【image.before】图片准备下载: 422866/00001.webp [1/2], [https://cdn-msp.jmapinodeudzn.net/media/photos/422866/00001.webp] → [D:/lph的奇妙小程序/JMComic-master/JMComic-master/usage/[MANA] 神里绫华 1 (原神) [中国语] [无修正]\00001.webp]
[2025-04-21 17:03:09] [Thread-3]:【image.before】图片准备下载: 422866/00002.webp [2/2], [https://cdn-msp.jmapinodeudzn.net/media/photos/422866/00002.webp] → [D:/lph的奇妙小程序/JMComic-master/JMComic-master/usage/[MANA] 神里绫华 1 (原神) [中国语] [无修正]\00002.webp]
Exception in thread Thread-2:
Traceback (most recent call last):
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_downloader.py", line 89, in
D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\PIL\Image.py:3201: UserWarning: image file could not be identified because WEBP support not installed
warnings.warn(message)
Exception in thread Thread-3:
Traceback (most recent call last):
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_downloader.py", line 89, in
[2025-04-21 17:03:10] [Thread-2]:【image.failed】图片下载失败: [https://cdn-msp.jmapinodeudzn.net/media/photos/422866/00001.webp], 异常: cannot identify image file <_io.BytesIO object at 0x0000020802586A90>
[2025-04-21 17:03:10] [Thread-3]:【image.failed】图片下载失败: [https://cdn-msp.jmapinodeudzn.net/media/photos/422866/00002.webp], 异常: cannot identify image file <_io.BytesIO object at 0x0000020802586590>
apply=lambda image: self.download_by_image_detail(image, client),
apply=lambda image: self.download_by_image_detail(image, client),
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_downloader.py", line 114, in download_by_image_detail
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_downloader.py", line 114, in download_by_image_detail
client.download_by_image_detail(
client.download_by_image_detail( File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_client_interface.py", line 264, in download_by_image_detail
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_client_interface.py", line 264, in download_by_image_detail
return self.download_image(
return self.download_image(
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_client_interface.py", line 253, in download_image
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_client_interface.py", line 253, in download_image
return self.save_image_resp(decode_image, img_save_path, img_url, resp, scramble_id)
return self.save_image_resp(decode_image, img_save_path, img_url, resp, scramble_id) File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_client_interface.py", line 257, in save_image_resp
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_client_interface.py", line 257, in save_image_resp
resp.transfer_to(img_save_path, scramble_id, decode_image, img_url)
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_client_interface.py", line 77, in transfer_to
resp.transfer_to(img_save_path, scramble_id, decode_image, img_url)
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_client_interface.py", line 77, in transfer_to
JmImageTool.open_image(self.content),
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_toolkit.py", line 809, in open_image
JmImageTool.open_image(self.content),
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\jmcomic\jm_toolkit.py", line 809, in open_image
return Image.open(fp)
return Image.open(fp)
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\PIL\Image.py", line 3202, in open
File "D:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\PIL\Image.py", line 3202, in open
raise UnidentifiedImageError(
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x0000020802586590>
raise UnidentifiedImageError(
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x0000020802586A90>
[2025-04-21 17:03:10] [Thread-1]:【photo.after】章节下载完成: [422866] (422866[1/1])
[2025-04-21 17:03:10] [MainThread]:【album.after】本子下载完成: [422866]
进程已结束,退出代码为 0
Beta Was this translation helpful? Give feedback.
All reactions