Version
- emby version.
- emby-danmaku version.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
手动匹配弹幕
index.html#!/videoosd/videoosd.html:1 Access to fetch at 'https://api.dandanplay.net/api/v2/search/episodes?anime=%E8%AF%B7%E5%90%83%E7%BA%A2%E5%B0%8F%E8%B1%86%E5%90%A7%EF%BC%81&withRelated=true' from origin 'h********' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
emby.danmaku.js:311
GET https://api.dandanplay.net/api/v2/search/episodes?anime=%E8%AF%B7%E5%90%83%E7%BA%A2%E5%B0%8F%E8%B1%86%E5%90%A7%EF%BC%81&withRelated=true net::ERR_FAILED 200 (OK)
查询失败: TypeError: Failed to fetch
at getEpisodeInfo (emby.danmaku.js:311:35)
emby.danmaku.js:324 查询成功
TypeError: Cannot read properties of null (reading 'animes')
at list2string (emby.danmaku.js:525:35)
at getEpisodeInfo (emby.danmaku.js:335:39)
实际这个链接正常返回了红小豆的弹幕信息
https://api.dandanplay.net/api/v2/search/episodes?anime=%E8%AF%B7%E5%90%83%E7%BA%A2%E5%B0%8F%E8%B1%86%E5%90%A7%EF%BC%81&withRelated=true
Version
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
手动匹配弹幕
index.html#!/videoosd/videoosd.html:1 Access to fetch at 'https://api.dandanplay.net/api/v2/search/episodes?anime=%E8%AF%B7%E5%90%83%E7%BA%A2%E5%B0%8F%E8%B1%86%E5%90%A7%EF%BC%81&withRelated=true' from origin 'h********' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
emby.danmaku.js:311
查询失败: TypeError: Failed to fetch
at getEpisodeInfo (emby.danmaku.js:311:35)
emby.danmaku.js:324 查询成功
TypeError: Cannot read properties of null (reading 'animes')
at list2string (emby.danmaku.js:525:35)
at getEpisodeInfo (emby.danmaku.js:335:39)
实际这个链接正常返回了红小豆的弹幕信息
https://api.dandanplay.net/api/v2/search/episodes?anime=%E8%AF%B7%E5%90%83%E7%BA%A2%E5%B0%8F%E8%B1%86%E5%90%A7%EF%BC%81&withRelated=true