V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
oseau
V2EX  ›  分享创造

Alfred下载在线视频 非插件 免费版可用

  •  
  •   oseau · 2012-09-07 16:39:37 +08:00 · 2973 次点击
    这是一个创建于 4248 天前的主题,其中的信息可能已经有所发展或是发生改变。
    利用Automator配合 https://github.com/iambus/youku-lixian
    使用步骤:
    1 复制视频网页地址
    2 使用Alfred呼出由Automator制作的程序

    制作步骤:
    1 下载 https://github.com/iambus/youku-lixian
    2 新建Automator项目 document type 选择 Application
    3 从左侧拖拽Get Contents of Clipboard
    4 从左侧拖拽Run Shell Script
    Shell选择 /bin/bash
    Pass input选择 to stdin
    请自行更改如下脚本中的地址填入内容里

    read line
    cd /Users/yang/terminal/youku-lixian/ #python脚本目录
    ./video_lixian.py ${line:0:${#line}-1}
    open ~/terminal/youku-lixian

    5 从左侧拖拽Run AppleScript
    填写内容如下

    tell application "Finder" to say "Done"

    6 保存到Application目录 类型为程序

    比较不爽的是看不到下载进度条

    希望对大家有用~ :)
    1 条回复    1970-01-01 08:00:00 +08:00
    sorrycc
        1
    sorrycc  
       2012-09-07 21:45:41 +08:00
    好东西,收了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2691 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:53 · PVG 23:53 · LAX 08:53 · JFK 11:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.