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

v0.55.2 Lite 不能下载字幕,下载字幕出现not found this api key #734

Open
cnviper opened this issue Jan 5, 2024 · 0 comments

Comments

@cnviper
Copy link

cnviper commented Jan 5, 2024

你使用的 chinesesubfinder 是什么版本,什么环境?

photo_2024-01-06_06-45-59
photo_2024-01-06_06-50-46

chinesesubfinder 版本: vx.x.x
v0.55.2 Lite
环境: docker or Window or Linux or MAC
Synology DSM 7.1 nas套件
在程序运行日志头部或者 Web UI 可以看到

你遇到什么问题了?

不能下载字幕,下载字幕出现not found this api key

描述一下你遇到的问题
下载字幕出现以下错误,但配置中心TMDB API测试显示正常,字幕源设置也配置了射手网的API
ImdbId: tt16529274
从 SubtitleBest 获取字幕列表失败,错误信息:not found this api key
若提示 api key 相关错误,请检查 SubtitleBest 的 apiKey 是否正确,以及是否过期

你的问题弄重现嘛?

能够重新,不能够重现

你期望的结果

描述以下你期望的结果

给出当前程序的配置文件

ChineseSubFinderSettings.json

/volume1/docker/chinesesubfinder/config:/config 下,ChineseSubFinderSettings.json,记得把你的用户名、密码、Emby API 敏感信息删除

可以复制上面的配置,使用类似在线 json 格式化的工具进行一次处理,方便阅读,JSON 在线解析及格式化验证 - JSON.cn

{
"SpeedDevMode":false,
"user_info":{
"username":"",
"password":""
},
"common_settings":{
"interval_or_assign_or_custom":0,
"scan_interval":"@every 4h",
"threads":6,
"run_scan_at_start_up":false,
"movie_paths":[
"/volume1/media/links/电影"
],
"series_paths":[
"/volume1/media/links/电视剧"
],
"local_static_file_port":"19037"
},
"subtitle_sources":{
"assrt_settings":{
"enabled":true,
"token":""
},
"subtitle_best_settings":{
"enabled":false,
"api_key":""
}
},
"advanced_settings":{
"proxy_settings":{
"use_proxy":false,
"use_which_proxy_protocol":"http",
"local_http_proxy_server_port":"19036",
"input_proxy_address":"127.0.0.1",
"input_proxy_port":"10809",
"need_pwd":false,
"input_proxy_username":"",
"input_proxy_password":""
},
"tmdb_api_settings":{
"enable":true,
"api_key":"",
"use_alternate_base_url":false
},
"debug_mode":false,
"save_full_season_tmp_subtitles":false,
"sub_type_priority":0,
"sub_name_formatter":1,
"save_multi_sub":false,
"custom_video_exts":[

    ],
    "fix_time_line":true,
    "topic":1,
    "suppliers_settings":{
        "xunlei":{
            "name":"xunlei",
            "root_url":"http://sub.xmp.sandai.net:8000/subxl/%s.json",
            "search_url":"",
            "daily_download_limit":-1
        },
        "shooter":{
            "name":"shooter",
            "root_url":"https://www.shooter.cn/api/subapi.php",
            "search_url":"",
            "daily_download_limit":-1
        },
        "assrt":{
            "name":"assrt",
            "root_url":"https://api.assrt.net/v1",
            "search_url":"",
            "daily_download_limit":-1
        },
        "a4k":{
            "name":"a4k",
            "root_url":"https://www.a4k.net/",
            "search_url":"/search?keyword=",
            "daily_download_limit":-1
        },
        "subhd":{
            "name":"subhd",
            "root_url":"https://subhd.tv/",
            "search_url":"/search/%s",
            "daily_download_limit":20
        },
        "zimuku":{
            "name":"zimuku",
            "root_url":"https://zimuku.org/",
            "search_url":"/search?q=%s",
            "daily_download_limit":20
        },
        "subtitle_best":{
            "name":"subtitle_best",
            "root_url":"https://api.subtitle.best/share-sub/v1",
            "search_url":"/search-movie",
            "daily_download_limit":-1
        }
    },
    "scan_logic":{
        "skip_chinese_movie":false,
        "skip_chinese_series":false
    },
    "task_queue":{
        "max_retry_times":3,
        "one_job_time_out":300,
        "interval":10,
        "expiration_time":90,
        "download_sub_during_x_days":7,
        "one_sub_download_interval":12,
        "check_pulic_ip_target_site":""
    },
    "download_file_cache":{
        "ttl":4320,
        "unit":"hour"
    }
},
"emby_settings":{
    "enable":false,
    "address_url":"",
    "api_key":"",
    "max_request_video_number":500,
    "skip_watched":false,
    "movie_paths_mapping":{
        "/volume1/media/links/电影":""
    },
    "series_paths_mapping":{
        "/volume1/media/links/电视剧":""
    },
    "auto_or_manual":true,
    "threads":6
},
"developer_settings":{
    "enable":false,
    "bark_server_address":""
},
"timeline_fixer_settings":{
    "max_offset_time":700,
    "min_offset":0.2
},
"experimental_function":{
    "auto_change_sub_encode":{
        "enable":false,
        "des_encode_type":0
    },
    "chs_cht_changer":{
        "enable":false,
        "des_chinese_language_type":0
    },
    "remote_chrome_settings":{
        "enable":false,
        "remote_docker_url":"",
        "remote_adblock_path":"",
        "remote_user_data_dir":""
    },
    "api_key_settings":{
        "enabled":true,
        "key":""
    },
    "local_chrome_settings":{
        "enabled":false,
        "local_chrome_exe_f_path":""
    },
    "share_sub_settings":{
        "share_sub_enabled":false
    },
    "extend_log":{
        "SysLog":{
            "enable":false,
            "network":"",
            "address":"",
            "priority":0,
            "tag":""
        }
    }
}

}

如果是使用 Docker,请给出对应的配置信息

比如 Docker-Compose 信息,如果是其他方式使用忽略

给出媒体文件夹的目录结构

     "/volume1/media/links/电影":""
     "/volume1/media/links/电视剧":""

首先你需要去看主页的部署教程,确认你目录结构是规范的,如果你觉得没问题,那么请除非目录结构截图

是否看过对应的目录结构要求文档?

请给出当次问题的完整日志

日志在程序的 Logs 目录下,如果你用的是 docker ,那么需要你映射出来。

/volume1/docker/chinesesubfinder/config:/config 下,Logs 中

@cnviper cnviper changed the title v0.55.2 Lite v0.55.2 Lite 不能下载字幕,下载字幕出现not found this api key Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant