• 10-09-2013, 05:30:57
    #1
    Merhaba arkadaşlar 3 ay öncesine kadar bu kodlarlar ile video'yu oynatabiliyordum ancak şimdi hata oynatamıyorum.
    Çözebilecek olan arkadaş varmı ?


    <?
    $adres="http://www.redtube.com/".$_GET['id'];
    $gir=baglan($adres);
    
    preg_match("|<source src='(.*)' type='video/mp4'>|",$gir,$ver);
    if(!$ver)exit;
    header("location : ".urldecode($ver[1]));
    
    
    
    function baglan($url){
    $oturum = curl_init();
    curl_setopt($oturum, CURLOPT_URL, $url);
    curl_setopt($oturum, CURLOPT_HTTPHEADER,array('User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0',
    											   'Host: www.redtube.com',
    											   'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
    											   'Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3',
    											   'Connection: keep-alive'));
    $h4 = $_SERVER['HTTP_USER_AGENT'];
    curl_setopt($oturum, CURLOPT_USERAGENT, $h4);
    curl_setopt($oturum, CURLOPT_HEADER, 0);
    curl_setopt($oturum, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($oturum, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($oturum, CURLOPT_TIMEOUT, 30);
    $source=curl_exec($oturum);
    curl_close($oturum);
    return $source;
    }
    ?>
  • 10-09-2013, 06:20:22
    #2
    Reveloper
    <?
    $adres="http://www.redtube.com/".$_GET['id'];
    $gir=baglan($adres);
    
    preg_match("|<source src='(.*)' type='video/mp4'>|",$gir,$ver);
    if(!$ver)exit;
    header("location : ".urldecode($ver[1]));
    
    
    
    function baglan($url){
    $oturum = curl_init();
    curl_setopt($oturum, CURLOPT_URL, $url);
    curl_setopt($oturum, CURLOPT_HTTPHEADER,array('User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0',
    											   'Host: www.redtube.com',
    											   'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
    											   'Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3',
    											   'Connection: keep-alive'));
    $h4 = $_SERVER['HTTP_USER_AGENT'];
    curl_setopt($oturum, CURLOPT_USERAGENT, $h4);
    curl_setopt($oturum, CURLOPT_HEADER, 0);
    curl_setopt($oturum, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($oturum, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($oturum, CURLOPT_TIMEOUT, 30);
    curl_setopt($oturum, CURLOPT_HTTPPROXYTUNNEL, 0); 
    curl_setopt($oturum, CURLOPT_PROXY, "176.9.68.77:5921"); 
    $source=curl_exec($oturum);
    curl_close($oturum);
    return $source;
    }
    ?>
  • 10-09-2013, 11:35:24
    #3
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Aşağıdaki kodlarla ben sorunsuz işlem yapıyorum. İsteyen cURL kullanıp proxy ekleyebilir.

    <?php
    	/* 
    	 * SAINTX » XYZ BOT
    	 * 
    	 * @author: SAINTX
    	 * @web: http://saintx.net
    	 * @mail: im@saintx.net
    	 * @date: 16.08.2013
    	 * @version: 1.0.0
    	 */
    	
    	function get_redtube_video_url($ID) {
    		$try = true;
    		
    		while($try) {
    		
    			$html = file_get_contents(sprintf('http://www.redtube.com/%s', $ID));
    			
    			$video_url = preg_match('#flv_h264_url\=(.*?)\&#si', $html, $matches) ? urldecode(end($matches)) : '';
    			
    			unset($html, $matches);
    			
    			if(!strstr($video_url, 'http://vid.lsw.redtubefiles.com/'))
    				$try = false;
    		
    		}
    		
    		unset($try);
    		
    		return $video_url;
    	}
    	
    	header(sprintf('Location: %s', get_redtube_video_url($_GET['ID'])));
  • 11-09-2013, 17:56:44
    #4
    redtube ip blokluyor şuan host degistirip abd lokasyon biyere gecerseniz veya farkli bloklanmamis bir ip bloguna gecerseniz calisacaktir.
  • 12-09-2013, 07:08:20
    #5
    Kimlik doğrulama veya yönetimden onay bekliyor.
    redtube güvenipte sitenizi onun videoları ile doldurmayın.yakında sistemini tamamen değiştirecek, xhamster gibi tamamen flv mp4 çekilmesini engelleyecek.
  • 16-09-2013, 03:49:01
    #6
    yok arkadaşlar bi türlü oynatamadım yokmu çözebilecek ?
  • 16-09-2013, 20:37:34
    #7
    Güncel //