-
Notifications
You must be signed in to change notification settings - Fork 66
项目兼容性问题 #490
Description
ELF_RSS 、 go-cqhttp 、 nonebot 、 Python 版本及操作系统
ELF_RSS v2.6.22 npm安装
Python 3.11.7
centos 8
列出安装的 Python 包
aiodns==3.1.1
aiohttp==3.9.3
aiosignal==1.3.1
annotated-types==0.6.0
anyio==3.7.1
APScheduler==3.10.4
arrow==1.3.0
async-timeout==4.0.3
attrs==23.2.0
bbcode==1.1.0
beautifulsoup4==4.12.3
binaryornot==0.4.4
Brotli==1.1.0
cachetools==5.3.3
cashews==6.4.0
certifi==2024.2.2
cffi==1.16.0
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
cookiecutter==2.6.0
cssselect==1.2.0
deep-translator==1.11.4
distlib==0.3.8
emoji==2.11.0
fastapi==0.110.0
feedparser==6.0.11
filelock==3.13.3
frozenlist==1.4.1
h11==0.14.0
httpcore==1.0.5
httptools==0.6.1
httpx==0.27.0
idna==3.6
ImageHash==4.3.1
Jinja2==3.1.3
loguru==0.7.2
lxml==5.1.1
magneturi==1.3
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mdurl==0.1.2
msgpack==1.0.8
multidict==6.0.5
nb-cli==1.4.0
nonebot-adapter-onebot==2.4.3
nonebot-plugin-apscheduler==0.4.0
nonebot-plugin-guild-patch==0.2.3
nonebot2==2.2.1
noneprompt==0.1.9
numpy==1.26.4
PikPakAPI==0.1.6
pillow==10.2.0
platformdirs==4.2.0
prompt-toolkit==3.0.43
pycares==4.4.0
pycparser==2.21
pydantic==2.6.4
pydantic_core==2.16.3
pyfiglet==1.0.2
Pygments==2.17.2
pygtrie==2.5.0
pyquery==2.0.0
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
python-qbittorrent==0.4.3
python-slugify==8.0.4
pytz==2024.1
PyWavelets==1.5.0
PyYAML==6.0.1
requests==2.31.0
rich==13.7.1
scipy==1.12.0
sgmllib3k==1.0.0
six==1.16.0
sniffio==1.3.1
soupsieve==2.5
starlette==0.36.3
tenacity==8.2.3
text-unidecode==1.3
tinydb==4.8.0
tomlkit==0.12.4
types-python-dateutil==2.9.0.20240316
typing_extensions==4.10.0
tzlocal==5.2
urllib3==2.2.1
uvicorn==0.29.0
uvloop==0.19.0
virtualenv==20.25.1
watchfiles==0.21.0
wcwidth==0.2.13
websockets==12.0
yarl==1.9.4
如何复现
1.从github拉取并部署最新版RSSHub并启动
2.从github拉取并用npm方式部署最新版ELF_RSS并启动(需手动修复src/plugins/ELF_RSS2/config.py的BaseConfig为Config)
3.在QQ中使用rsshub_add指令
期望行为
可正常添加RSS订阅
实际行为
1.需手动修复src/plugins/ELF_RSS2/config.py的BaseConfig为Config(#484中提到了这个问题并关闭了,但该文件中依旧残留BaseConfig)
2.rsshub_add指令提示“获取路由数据失败,请检查 RSSHub 的地址配置及网络连接”,查看代码发现原因是RSSHub的api/routes接口404。无论是手动访问本地部署RSSHub的接口和官方的接口 https://rsshub.app/api/routes 都是404。查阅RSSHub后发现api/namespace可获得所有路由,但和rsshub_add指令读取的结构不一致。对rsshub_add进行少量改造后,可正常添加并开始推送。RSSHub是否更新过接口,但ELF_RSS未跟进?还是我的食用方法存在问题?