CatchTube V2- YouTube Video Searcher And Downloader

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    none of those youtube video downloader scripts working anymore.youtube has changed some of their code.as i heard,they are converting their site to ajax code

    Comment


      #47
      i fixed 2 times today, sometime download works sometime not.
      Last edited by opticalpigion; 20.03.10, 13:43.
      sigpic

      Comment


        #48
        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?

        Comment


          #49
          Yeah Opti, plz share it with us....

          Comment


            #50
            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.
            sigpic

            Comment


              #51
              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.
              sigpic

              Comment


                #52
                I think will work ok if u play with header() and file_get_contents() ...:-?
                L.E. : YES, is working
                Last edited by morency; 23.03.10, 10:56.
                Unamos los corazones,hoy todos somos multicolores!

                Comment


                  #53
                  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
                  Nice Effects

                  Comment


                    #54
                    the ip who make request must be the same with the ip who download....
                    you can use readfile() ... work for me
                    Unamos los corazones,hoy todos somos multicolores!

                    Comment


                      #55
                      Originally posted by morency View Post
                      the ip who make request must be the same with the ip who download....
                      you can use readfile() ... work for me
                      this will eat many server ressources if there are many download requests at the same time.
                      Advertise your mobile site for FREE with AdTwirl

                      Comment


                        #56
                        its use alot of bandwidth
                        look at my bandwidth usage this month
                        it force me to close download section lol

                        sigpic

                        Comment


                          #57
                          yes...I know , I know....but for me is ok....
                          Unamos los corazones,hoy todos somos multicolores!

                          Comment


                            #58
                            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 
                            }
                            ?>
                            it will use alot bandwidth because videos will get download from ur server.
                            sigpic

                            Comment


                              #59
                              Ur Code IS Working Thank U vERY mUCH.<br>
                              Last edited by TheNik; 04.04.10, 06:06.

                              Comment


                                #60
                                @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?

                                Comment

                                Working...
                                X