AssrtOSS / mpv-assrt

mpv自动下载字幕脚本 Automatically download subtitles from assrt.net
123 stars 13 forks source link

0.33分支API请求错误 #14

Closed IstPlayer closed 4 years ago

IstPlayer commented 4 years ago

mpv 版本(是 scoop 下载的 mpv-git):

❯ mpv -v
[cplayer] Command line options: '-v'
[cplayer] mpv 0.32.0-759-g67b4a96e45 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Sun Oct 11 16:36:53 +08 2020
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       56.60.100
[cplayer]    libavcodec      58.111.100
[cplayer]    libavformat     58.62.100
[cplayer]    libswscale      5.8.100
[cplayer]    libavfilter     7.87.100
[cplayer]    libswresample   3.8.100
[cplayer] FFmpeg version: git-2020-10-10-0c73c2909

mpv 开启时的控制台相关日志报告:

Can't load unknown script: C:/scoop/apps/mpv-git/current/portable_config/scripts/win-helper.vbs
[assrt] loaded assrt Lua flavor
[assrt2] Error: Cannot find module file 'AssFormat.js'
[assrt2]        at resolve_module_file (@/defaults.js:503)
[assrt2]        at require (@/defaults.js:571)
[assrt2]        at C:/scoop/apps/mpv-git/current/portable_config/scripts/assrt/main.js:13
[assrt2]        at run_script (native)
[assrt2] Could not load javascript C:/scoop/apps/mpv-git/current/portable_config/scripts/assrt/main.js

mpv 调用 assrt 时的报告(API请求错误,具体请查看控制台):

[assrt2] curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - ���ڵ������������ѻ������������޷���������
[assrt2] subprocess exit with code 35
[assrt2] curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - ���ڵ������������ѻ������������޷���������
[assrt2] subprocess exit with code 35

有一堆乱码,我也不知道是为什么。

scripts 里面的文件夹我是都有的,包括 assrt.lua win-helper.vbsassrt 文件夹。

fffonion commented 4 years ago

看起来像是curl的兼容问题,要不换个curl试试

IstPlayer commented 4 years ago

应该是代理的问题,等我再测试一下

IstPlayer commented 4 years ago

对的,代理的问题,需要白名单