下载Youtube播放列表

这将下载一个Youtube播放列表,大部分都是http://code.google.com/apis/youtube/2.0/reference.html#Video_FeedsThe文件将以$ id.flv保存
.

0

linux命令:y=http://www.youtube.com;for i in $(curl -s $f|grep -o "url='$y/watch?v=[^']*'");do d=$(echo $i|sed "s|url\='$y/watch?v=\(.*\)&.*'|\1|");wget -O $d.flv "$y/get_video.php?video_id=$d&t=$(curl -s "$y/watch?v=$d"|sed -n 's/.* "t": "\([^"]*\)",.*/\1/p')";done "\([^"]*\)",.*/\1/p')";done "t": 's/.* -n "$y/watch?v=$d"|sed -s "$y/get_video.php?video_id=$d&t=$(curl $d.flv -O "s|url\='$y/watch?v=\(.*\)&.*'|\1|");wget $i|sed d=$(echo "url='$y/watch?v=[^']*'");do -o $f|grep -s $(curl in i y=http://www.youtube.com;for y=http://www.youtube.com;for i in $(curl -s $f|grep -o "url='$y/watch?v=[^']*'");do d=$(echo $i|sed "s|url\='$y/watch?v=\(.*\)&.*'|\1|");wget -O $d.flv "$y/get_video.php?video_id=$d&t=$(curl -s "$y/watch?v=$d"|sed -n 's/.* "t": "\([^"]*\)",.*/\1/p')";donerootopen.com
linux命令:y=http://www.youtube.com;for i in $(curl -s $f|grep -o "url='$y/watch?v=[^']*'");do d=$(echo $i|sed "s|url\='$y/watch?v=\(.*\)&.*'|\1|");wget -O $d.flv "$y/get_video.php?video_id=$d&t=$(curl -s "$y/watch?v=$d"|sed -n 's/.* "t": "\([^"]*\)",.*/\1/p')";done "\([^"]*\)",.*/\1/p')";done "t": 's/.* -n "$y/watch?v=$d"|sed -s "$y/get_video.php?video_id=$d&t=$(curl $d.flv -O "s|url\='$y/watch?v=\(.*\)&.*'|\1|");wget $i|sed d=$(echo "url='$y/watch?v=[^']*'");do -o $f|grep -s $(curl in i y=http://www.youtube.com;for y=http://www.youtube.com;for i in $(curl -s $f|grep -o "url='$y/watch?v=[^']*'");do d=$(echo $i|sed "s|url\='$y/watch?v=\(.*\)&.*'|\1|");wget -O $d.flv "$y/get_video.php?video_id=$d&t=$(curl -s "$y/watch?v=$d"|sed -n 's/.* "t": "\([^"]*\)",.*/\1/p')";donerootopen.com
psok 2018-05-20 02:09:48
输出

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

热门文章