option = create_option_by_str(config_data, mode="yml")
config_data = f"""
log: {plugin_config.jmcomic_log}
client:
impl: api
retry_times: 1
postman:
meta_data:
proxies: {plugin_config.jmcomic_proxies}
download:
image:
suffix: .jpg
threading:
image: {plugin_config.jmcomic_thread_count}
dir_rule:
base_dir: {cache_dir}
rule: Bd_Pid
plugins:
{login_block}
after_photo:
- plugin: img2pdf
kwargs:
pdf_dir: {cache_dir}
filename_rule: Pid
"""
注意事项
你使用的是哪种方式?
Python代码
你的目的?
使用的nonebot-plugin-jmdownloader用到了API,尝试登陆时全部超时
你遇到的困难?
截至现在
JMComic-Crawler-Python/src/jmcomic/jm_config.py
Lines 130 to 133 in 905f72c
中所给的域名似乎全访问不了,几乎全都是
Operation timed out after 30002 milliseconds with 0 bytes received.额外信息(代码/option配置/截图等)