91270 / MeiamSubtitles

Emby Server / Jellyfin Server 端字幕插件 ,使用 迅雷影音、 射手网 接口精准匹配视频字幕
1.57k stars 142 forks source link

提供手机迅雷API,可以考虑加入到插件中 #100

Open KingCheni opened 2 weeks ago

KingCheni commented 2 weeks ago
https://api-shoulei-ssl.xunlei.com/oracle/subtitle?duration=${时长}&gcid=${gcid}&name=${名称}

有名称即可发起GET请求

RESPONSE:

{
    "code": 0,
    "data": [
        {
            "gcid": "",
            "cid": "",
            "url": "",
            "ext": "ass",
            "name": "XXX",
            "duration": 666,
            "languages": [
                "默认"
            ],
            "source": 0,
            "score": 0,
            "fingerprintf_score": 0,
            "extra_name": "(网友上传)"
        }]
}

另外目前迅雷看看下载的字幕文件,aliyun oss上已经删除,可以调整下相关逻辑。

<?xml version="1.0" encoding="UTF-8"?>
<Error>
  <Code>NoSuchKey</Code>
  <Message>The specified key does not exist.</Message>
  <RequestId>67223A33EFD9B9363703CB04</RequestId>
  <HostId>xlppc-subtitle.oss-cn-shanghai-internal.aliyuncs.com</HostId>
  <Key>79/64/7964F5E49F372ACEE3BFFE4130BEB94C9CB4BB0A.ass</Key>
  <EC>0026-00000001</EC>
  <RecommendDoc>https://api.aliyun.com/troubleshoot?q=0026-00000001</RecommendDoc>
</Error>