TwooSix / Alist-MikananiRss

从蜜柑计划的RSS订阅源中自动获取番剧更新并通过Alist离线下载至对应网盘
62 stars 6 forks source link

按教程部署后报错 #36

Closed qiuyeshengsheng closed 2 months ago

qiuyeshengsheng commented 2 months ago

按教程部署后运行python3 -m alist_mikananirss --config /usr/python/lib/python3.11/site-packages/alist_mikananirss/config.yaml提示错误 Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/python/lib/python3.11/site-packages/alist_mikananirss/main.py", line 5, in sys.exit(alist_mikananirss.main()) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/python/lib/python3.11/site-packages/alist_mikananirss/init.py", line 33, in main asyncio.run(run()) File "/usr/python/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/usr/python/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/python/lib/python3.11/asyncio/base_events.py", line 650, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/usr/python/lib/python3.11/site-packages/alist_mikananirss/init.py", line 22, in run initializer.init_extrator() File "/usr/python/lib/python3.11/site-packages/alist_mikananirss/common/initializer.py", line 67, in init_extrator raise ValueError("Invalid rename config, extractor is required") ValueError: Invalid rename config, extractor is required 系统环境 centos7.9,python3.11.0 pip22.3

TwooSix commented 2 months ago

cfg格式错了,报错提示你使用了rename项但没有填extractor

TwooSix commented 2 months ago

抱歉...我发现我的主分支的readme的cfg示例是错的,后面改改,你如果不用重命名功能的话整块删掉即可,如果要用的话,可以参考完整配置示例填上gpt的token,因为新版本我把正则重命名给删了,只能用gpt了。

qiuyeshengsheng commented 2 months ago

好的,感谢回复,我去试试

TwooSix commented 2 months ago

fixed in 495b3cc