Board logo

标题: [网络工具] dv.bat - 下载视频(优酷/土豆...) [打印本页]

作者: tmplinshi    时间: 2012-11-29 02:37     标题: dv.bat - 下载视频(优酷/土豆...)

本帖最后由 tmplinshi 于 2012-11-29 03:41 编辑
  1. :: dv.bat
  2. @echo off
  3. if "%~1" == "" exit /b
  4. setlocal
  5. set _url=http://www.flvcd.com/parse.php?kw=
  6. set format=
  7. 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
复制代码
所需工具:


示例:
  1. dv http://www.tudou.com/programs/view/5ncH0YJinm0/
复制代码

作者: m91opse    时间: 2018-4-28 10:11

虽然看不明白,但是还是赞




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2