RT,you-get 是一個視頻離線下載工具,
https://github.com/soimort/you-get

另一個同類工具 youtube-dl 也是python 實現,雖然名為 youtube-dl 但是從文檔上看,支持很多網站
https://github.com/rg3/youtube-dl

兩個都是命令行工具

如果裝有python3 ,可以使用pip 安裝。
如果沒有裝有python環境。可以在https://github.com/soimort/you-get/releases 下載完整包

C:\Users\Administrator>you-get “http://v.youku.com/v_show/id_XNjAyODg3Njg4.html”
site:                優酷 (Youku)
title:               搏命單刀奪命槍
stream:
    - format:        hd2
      container:     flv
      video-profile: 超清
      size:          836.7 MiB (877363854 bytes)
    # download-with: you-get --format=hd2 [URL]

Downloading 搏命單刀奪命槍.flv ...
 3.2% ( 26.4/836.7MB) ├██─────────────────────────────────────┤[ 2/30]    1 MB/s

在github 上看到有人建議you-get實現配置功能,所以用批處理寫了一個:

@echo off
::2016年9月4日 13:36:02 codegay
::you-get配置文件
::本代碼另存為g.bat

if "%1" == "" (
    echo you-get配置腳本
    echo 用法:
    echo g url
    echo g https://vimeo.com/181027959
    exit /b 0
    )

set outputdir="D:/迅雷下載"

::操SB GFW
echo "%1" | findstr /i "youtube vimeo google" && set proxy=--socks-proxy 127.0.0.1:7070
you-get --output-dir %outputdir% %proxy% "%*"