本帖最后由 tmplinshi 于 2012-11-29 03:41 编辑
- :: dv.bat
-
- @echo off
- if "%~1" == "" exit /b
-
- setlocal
- set _url=http://www.flvcd.com/parse.php?kw=
- set format=
-
- curl -s %_url%%1 | sed -r -n "/&format=/h; ${g;s/^.*&format=([^\x22]+).*$/\1/;p}" | do -f curl -A opera -s "%_url%%1&format=%%a" | sed -n -r "s|^.*clipurl = (.*);var cliptitle = (.*);</script>$|\1 -o \2|p" | do aria2c -x 10 -U opera %%a
复制代码 所需工具:
示例:- dv http://www.tudou.com/programs/view/5ncH0YJinm0/
复制代码
|