Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

手动往database添加数据,无法匹配到豆瓣信息 #346

Open
bigmouse0001 opened this issue Jul 4, 2024 · 11 comments
Open

手动往database添加数据,无法匹配到豆瓣信息 #346

bigmouse0001 opened this issue Jul 4, 2024 · 11 comments
Labels
question Further information is requested

Comments

@bigmouse0001
Copy link

手动往数据库添加以下行:

99999 百货战警2 Paul Blart: Mall Cop 2 Paul Blart: Mall Cop 2 美国 0 {"info": {"id": 99999, "cnname": "百货战警2", "enname": "百货战警2", "aliasname": "", "channel": "movie", "channel_cn": "电影", "area": "美国", "show_type": "", "expire": "1610400622", "views": 6, "year": [2015]}, "list": []}

豆瓣是能搜索到这个影片的:
image

前端无法匹配豆瓣信息:
image

api无响应,错误码500:
image

所以想问一下,这个根据关键词匹配豆瓣数据的逻辑是什么呢?手动添加的元数据无法匹配douban信息吗?

@bigmouse0001
Copy link
Author

补充下,因为想把rarbg的几十万电影种子整合到软件里面,目前发现了这个bug~~

@BennyThink BennyThink added the bug Something isn't working label Jul 4, 2024
@BennyThink
Copy link
Member

可能是个 bug ,应该是爬虫的时候出错了

500有错误信息吗?

@bigmouse0001
Copy link
Author

可能是个 bug ,应该是爬虫的时候出错了

500有错误信息吗?

用python模拟api请求,返回

content length 0

@BennyThink
Copy link
Member

image

我这里没问题呀。

是不是你的IP,请求数量太多,被豆瓣风控了?

@BennyThink BennyThink added question Further information is requested and removed bug Something isn't working labels Jul 6, 2024
@bigmouse0001
Copy link
Author

bigmouse0001 commented Jul 7, 2024

image 我这里没问题呀。

是不是你的IP,请求数量太多,被豆瓣风控了?

不会吧,其他资源都能匹配豆瓣数据,就自己手动添加的数据匹配不了,我用的是离线 一键运行包。。是不是这个问题??

@bigmouse0001
Copy link
Author

具体报错信息:

image

@BennyThink
Copy link
Member

哦天,你用的这个版本,这个版本还有人用😨 建议你用这个 离线 完整运行包

@bigmouse0001
Copy link
Author

哦天,你用的这个版本,这个版本还有人用😨 建议你用这个 离线 完整运行包

。。好吧。。离线完整运行包有win程序吗

@BennyThink
Copy link
Member

应该可行……但是我也没有机器做测试😂
https://github.com/tgbot-collection/YYeTsBot/blob/master/DEVELOPMENT.md#%E4%B8%80%E9%94%AE%E8%84%9A%E6%9C%AC

@bigmouse0001
Copy link
Author

应该可行……但是我也没有机器做测试😂
https://github.com/tgbot-collection/YYeTsBot/blob/master/DEVELOPMENT.md#%E4%B8%80%E9%94%AE%E8%84%9A%E6%9C%AC

。。。win端用一键脚本报错,需要安装docker吗

@BennyThink
Copy link
Member

需要安装

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants