[Help] 下载禁漫图片失败,域名被墙 #461
Replies: 11 comments
-
贴一下你运行程序的日志 |
Beta Was this translation helpful? Give feedback.
-
[2025-07-28 09:51:04] [Thread-395 (download_by_image_detail)]:【req.error】Failed to perform, curl: (35) Recv failure: Connection was reset. See https://curl.se/libcurl/c/libcurl-errors.html first for more details. 贴不下太多 |
Beta Was this translation helpful? Give feedback.
-
这个是下载报错信息 |
Beta Was this translation helpful? Give feedback.
-
感谢回答,额,代理工具解决方法是改option还是挂个梯子这样的? |
Beta Was this translation helpful? Give feedback.
-
先挂梯子,再修改option的client.postman.meta_data.proxies配置 |
Beta Was this translation helpful? Give feedback.
-
这些是jmcomic内置的API图片域名,你可以手动复制域名到浏览器访问,如果能访问通,就是没被墙。 from jmcomic import JmModuleConfig, str_to_list
JmModuleConfig.DOMAIN_IMAGE_LIST = str_to_list('''
cdn-msp.jmapinodeudzn.net
cdn-msp3.jmapinodeudzn.net
''') 或者改你本地pip下载的jmcomic的jm_config.py:120行的源代码 |
Beta Was this translation helpful? Give feedback.
-
感觉还是使用Github Action方便,相当的便捷快速,但是主要是文件下载后得储存进移动存储设备,从github上下下来再解压好几次(是我方法不对吗,每次都得解压2-3次),还得用zip存进存储设备后再解压,就显得麻烦了。后续流程也很慢。 |
Beta Was this translation helpful? Give feedback.
-
文件下载命名方式能改,自行参考option文档:https://jmcomic.readthedocs.io/zh-cn/latest/option_file_syntax/# |
Beta Was this translation helpful? Give feedback.
-
还是用github吧,本地确实不太行,感谢作者 |
Beta Was this translation helpful? Give feedback.
-
有没有必要出一个配置github的下载的教程呢 |
Beta Was this translation helpful? Give feedback.
-
配置啥? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
注意事项
你使用的是哪种方式?
jmcomic命令行
你的目的?
使用option下载漫画时不缺失
你遇到的困难?
如果在“请求重试次数”里面使用默认值5,会出现严重的内容缺失,如果将值改为100,则程序好像会额外运行非常久的时间,而使用Github Action下载时更加的快速,内容也不会出现缺失,使用默认的命令行下载时也不会出现此问题
额外信息(代码/option配置/截图等)
client:
cache: null
domain: []
impl: api
postman:
meta_data:
headers: null
impersonate: chrome
proxies: {}
type: curl_cffi
retry_times: 20
dir_rule:
base_dir: D:\漫画
rule: Bd_Aname_Pindex
download:
cache: true
image:
decode: true
suffix: .jpg
threading:
image: 49
photo: 12
log: true
plugins:
valid: log
version: '2.1'
Beta Was this translation helpful? Give feedback.
All reactions