Wanyne
V2EX  ›  Apple

Alfred3 脚本,自动下载射手字幕

  •  
  •   Wanyne · Oct 17, 2016 · 4394 views
    This topic created in 3672 days ago, the information mentioned may be changed or developed.

    Github 地址: https://github.com/Vaayne/workflow

    功能简单实用,按一下快捷键,自动获取当前视频文件的路径,然后自动搜索下载字幕到当前文件夹。

    16 replies  •  2017-10-15 16:11:54 +08:00
    StackGao
    StackGao
    Oct 17, 2016
    1
    试了一下 ./

    真乃神器 .
    endosome
    endosome
    Oct 17, 2016
    2
    mark for use
    applelove
    applelove
    Oct 18, 2016
    3
    为什么写的是 alfred 2 的 workflow 哦,还以为是旧版本
    Wanyne
    Wanyne
    OP
    Oct 18, 2016
    4
    @applelove 感谢提醒,之前的忘记改了,现在 OK 了。
    Wanyne
    Wanyne
    OP
    Oct 18, 2016
    5
    @StackGao 确实方便,使用的射手播放器的 API 。
    xieyingli
    xieyingli
    Oct 18, 2016
    6
    射手播放器万年不更新,解码能力实在是弱哎。。。
    Wanyne
    Wanyne
    OP
    Oct 18, 2016 via Android
    7
    @xieyingli 我也这个感觉,但是有了这个 workflow 之后就可以卸载射手播放器了,本来也就是为了方便看字幕。
    youschan
    youschan
    Oct 18, 2016
    8
    我这里提示下载成功但是么看到字幕文件呀?
    raenoll
    raenoll
    Oct 19, 2016
    9
    @youschan 我也是同样的问题
    Wanyne
    Wanyne
    OP
    Oct 19, 2016 via Android
    10
    @youschan 软件现在有一个 bug ,提示有问题,你能说一下,最后提示的完整内容不。
    xieyingli
    xieyingli
    Oct 19, 2016
    11
    @Wanyne 现在你用哪个播放器啊,我不太喜欢那些还得自己拖字幕进去的。。。 mac 下这种操作很 bug
    Wanyne
    Wanyne
    OP
    Oct 19, 2016 via Android
    12
    @xieyingli MPV ,不过它只能识别名字完全一样的字幕。
    xieyingli
    xieyingli
    Oct 19, 2016
    13
    @Wanyne 和你一样,对小白来说功能好简单。。。
    youschan
    youschan
    Oct 19, 2016 via iPhone
    14
    @Wanyne 提示内容完整,但是没字幕
    byuan04
    byuan04
    Jul 20, 2017
    15
    nice!
    sephrioth
    sephrioth
    Oct 15, 2017
    16
    似乎现在会报错? 需要更新什么么?
    [ERROR: action.script] Traceback (most recent call last):
    File "<string>", line 77, in <module>
    File "<string>", line 70, in main
    File "<string>", line 57, in download_sub
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1: ordinal not in range(128)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2168 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 12:54 · PVG 20:54 · LAX 04:54 · JFK 07:54
    ♥ Do have faith in what you're doing.