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

[BUG]局域网部署的Emby匹配弹幕时接口报CORS错误 #49

Open
Icarus1419 opened this issue Jan 6, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Icarus1419
Copy link

Version

  • emby [4.7.14.0, 4.8-bate]
  • emby-danmaku latest

Describe the bug

在访问局域网部署的Emby时,使用匹配弹幕时,接口报CORS错误。
截图如下:
image

Additional context

#经测试,参照弹幕下载接口中的配置将"ede.js"中第307行(弹幕匹配接口)代码
let searchUrl = 'https://api.dandanplay.net/api/v2/search/episodes?anime=' + animeName + '&withRelated=true';
修改为
let searchUrl = 'https://api.9-ch.com/cors/https://api.dandanplay.net/api/v2/search/episodes?anime=' + animeName + '&withRelated=true';
后可以正常匹配
image

@Icarus1419 Icarus1419 added the bug Something isn't working label Jan 6, 2024
@noir1216
Copy link

链接前面加 https://ddplay-api.930524.xyz/cors/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants