atamam gerekiyor youtube yine kod değişti

<?php
$asd ="v13.lscache5.c.youtube.com";
$cacheip = gethostbyname('$asd');
echo $cacheip;
?> 7
●973
<?php
ob_start();
$videoid=$_GET["v"];
$format = $_GET["fmt"];
if(empty($format)) $format = 18;
$content= file_get_contents("http://youtube.com/get_video_info?video_id=$videoid");
parse_str($content);
$url = "http://www.youtube.com/get_video.php?video_id=" . $videoid . "&t=" . $token. "&fmt=".$format;
$headers = get_headers($url);
foreach($headers as $h){
if(strpos($h,"googlevideo.com")!=false){
$url = substr($h,10);
break;
}
}
header("Location: $url");
ob_end_flush();
?>