夜火 & 轨迹's Blog

免费网络资源-网络新闻-计算机技术-网络安全-计算机病毒—15897.com(要我发就齐) 夜火&轨迹共用的Blog

导航

挖出土豆网土豆视频FLV文件实际地址

from:独来读网

功能:挖出土豆网土豆视频FLV文件实际地址
演示:http://www.51du.cn/tudou.php
PHP源码:
<?
/*
e.g http://www.51du.cn/tudou.php
*/
ini_set("display_errors",0);
?>
<title>挖土豆-独来读网</title>
<form method="get" action="">土豆播放页地址:<input type="text" value="<? echo $q;?>" name="q" /><input type="submit" value="挖土豆喽!" /></form>
<?php
$q=urldecode($_GET['q']);
 if(!emptyempty($_GET['q'])) {
 htmlentities($_GET['q']);
 $html = file_get_contents($q);
 preg_match('/<TITLE>(.*?)- 视频/i',$html,$t);
 preg_match('/iid=(\d+)/',$html,$m);
 $html=file_get_contents('http://www.tudou.com/player/v.php?id='.$m[1]);
 preg_match('/http:(.*?)\.flv/i',$html,$m);
 
 //$flv = $m[1];
 if (emptyempty($m[1])) {
 echo "挖不出来,如果输入的地址正确,请再挖挖!";
 }
 else {
 echo "<b>".$t[1]."</b>"."挖出来了,FLV地址是:<br />".$m[0];
 }
 }
 else {
 echo '请输入观看页面的网址:例如"http://www.tudou.com/programs/view/vZriVsqk-xc/"';
 }
?>

« 卡巴斯基 Kaspersky KAV/KIS v8.0.0.56(含key) 喜力啤酒免费送QQ绿钻7天体验活动(附答案) »

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
如原创文章转载,请注明: 转自:夜火&轨迹's Blog [ http://www.15897.com/ ]

本文链接地址: http://www.15897.com/blog/post/tudou-FLV.html

收藏到网摘

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

Powered By Z-Blog 1.8 Spirit Build 80722

Copyright © 夜火 & 轨迹's Blog All Rights Reserved.  深圳SEO SMC气动元件    |   Sitemap   |      |