Perhaps someone can use this information?
YouTube API Blog: Java YouTube Developers: Update Your Libraries
CatchTube V2- YouTube Video Searcher And Downloader
Collapse
X
-
@catchtube how did you do the notification message when someone tries to leech in your details.php from some other sites? can you pm it to me or share it here?
Leave a comment:
-
it will use alot bandwidth because videos will get download from ur server.PHP Code:<?php
if(isset($_GET['u'])){
$v = urldecode($_GET['u']);
$f = explode("fmt=",$v);
if($f[1] == 17){ // 3gp
header("Content-Type: video/3gp");
header("Content-Disposition: attachment; filename=\"video.3gp\"");
}
elseif($f[1] == 18){ // mp4
header("Content-Type: video/mp4");
header("Content-Disposition: attachment; filename=\"video.mp4\"");
}
else{ // flv
header("Content-Type: video/x-flv");
header("Content-Disposition: attachment; filename=\"video.flv\"");
}
readfile($v);
flush();
exit();
}else{
$yu = 'http://www.youtube.com/watch?v=qGyfaoUAWtM';
if(isset($_GET["yu"])) $yu = $_GET["yu"];
$c = file_get_contents($yu);
if(preg_match('/"video_id": "(.*?)"/', $c, $m) && preg_match('/"t": "(.*?)"/', $c, $m1)){
$id = $m[1];
$t = $m1[1];
$u = "http://www.youtube.com/get_video?video_id=".$id."&t=".$t;
}
?>
<html>
<head>
<title>YouTube Fixed - Coding-Talk.Com</title>
</head>
<body>
<h1>Youtube Url:</h1>
<form method="get" id="form" onSubmit="<?php echo $_SERVER['PHP_SELF']?>">
<input type="text" name="yu" id="yu" size="80" value="<?php echo $yu ?>"/> <input type="submit" name="b" id="b" value="Load" />
</form>
<h1>Preview:</h1>
<img src="http://img.youtube.com/vi/<?php echo $id?>/1.jpg" alt="Preview 1" />
<img src="http://img.youtube.com/vi/<?php echo $id?>/2.jpg" alt="Preview 2" />
<img src="http://img.youtube.com/vi/<?php echo $id?>/3.jpg" alt="Preview 3" />
<h1>Downloads:</h1>
<a href="<?php echo $_SERVER['PHP_SELF'].'?u='.urlencode($u)?>">Download FLV</a><br />
<a href="<?php echo $_SERVER['PHP_SELF'].'?fmt=18&u='.urlencode($u."&fmt=18")?>">Download MP4</a><br />
<a href="<?php echo $_SERVER['PHP_SELF'].'?fmt=17&u='.urlencode($u."&fmt=17")?>">Download 3GP</a>
</body>
</html>
<?php
}
?>
Leave a comment:
-
its use alot of bandwidth
look at my bandwidth usage this month
it force me to close download section lol
Leave a comment:
-
the ip who make request must be the same with the ip who download....
you can use readfile() ... work for me
Leave a comment:
-
none of the page is working except the index.php i know theres a way to make it but dont know how if you could give me ahint i could make it when i click on cateogeries example animal or news .php i am getting a white page
Leave a comment:
-
Download Link
FLV - http://www.okyoutube.com/watch?v=VIDEO ID
3GP - http://www.3.okyoutube.com/watch?v=VIDEO ID
MP4 - http://www.4.okyoutube.com/watch?v=VIDOE ID
now edit ur script.
Leave a comment:
-
i'll share script again when i make stable fix.
if u cant wait that long than hire someone to fix it for your site.
Leave a comment:
-
malka,none of catchtube version working anymore.opticalpigion fixed code for his catchtube.mobi and as far as i know its working only in his site.opticalpigion how you fixed that?
Leave a comment:
Leave a comment: