işte editlenmesi gereken kod:
Untitled Document
$bolumurl[0]="yok";
$title[0]="";
$parturl[0]="yok";
$img[0]="yok";
$etiket="yok";
$partvideourl[0]="yok";
$videourl="";
$player="";
function link_al($urll) {
$url = file_get_contents($urll);
$aranan='/preg_match_all($aranan,$url,$gelen);
for ($i=0; $i {
global $bolumurl;
$bolumurl[$i]=$gelen[1][$i];
//echo $bolumurl[$i]."
";
//"http://www.diziadresi.net".$gelen[1][$i]."
";
}
$aranantitle='/.htm" title="(.*?)">preg_match_all($aranantitle,$url,$gelen1);
for ($i=0; $i {
global $title;
$title[$i]=$gelen1[1][$i];
//echo $bolumurl[$i]."
";
//"http://www.diziadresi.net".$gelen[1][$i]."
";
}
$arananimg='/height="90" width="120" src="(.*?)" alt/i';
preg_match_all($arananimg,$url,$gelen2);
for ($i=0; $i {
global $img;
$img[$i]=$gelen2[1][$i];
}
}
link_al("http://www.ddizi.com/");
function partlink_al($bolumurl1) {
$url = file_get_contents($bolumurl1);
$aranan='/
preg_match_all($aranan,$url,$gelen);
global $parturl;
for ($i=0; $i {
global $parturl;
$parturl[$i]=$bolumurl1."\\".($i+1);
//echo $parturl[$i]."
";
//"http://www.diziadresi.net".$gelen[1][$i]."
";
}
$arananetiket='/name="keywords" content="(.*?)"><\/meta>/i';
preg_match_all($arananetiket,$url,$gelen1);
global $parturl;
for ($i=0; $i {
global $etiket;
$etiket=$gelen1[1][$i];
}
/*for ($i=0; $i {
echo $parturl[$i]."
";
}*/
}
function partvideo_al($parturl1) {
$url = file_get_contents($parturl1);
$aranan='/git=(.*?)mp4/i';
preg_match_all($aranan,$url,$gelen);
global $partvideourl;
global $videourl;
global $player;
for ($i=0; $i {
$partvideourl[$i]=$gelen[1][$i]."mp4";
$videourl=$partvideourl[$i];
/*$player=$player.'';
//echo $player1."
";
//"http://www.diziadresi.net".$gelen[1][$i]."
";*/
}
}
for ($i=0; $i<12; $i++)
{
partlink_al($bolumurl[$i]);
echo '';
echo "
";
echo '';
//echo $title[$i]."
";
for ($j=0; $j {
partvideo_al($parturl[$j]);
if($j {
$player=$player.'
------------------------------------------------------------------------------------------------------------------------------------------------------';
}
else
{
$player=$player.'';
}
}
for ($j=0; $j {
array_shift ($parturl);
}
echo '';
echo "
";
echo '';
$player="";
$etiket="";
echo "
";
}
?>
/* $con=@file_get_contents("url");
$baslik=explode('', $icerik);
$baslik=explode('', $baslik[1]);
echo $baslik[0];
*/
?>