View Single Post
  #1  
Old 03-21-2010, 11:46 AM
elch elch is offline
Member
 
Join Date: Mar 2010
Posts: 78
elch is on a distinguished road
Default

demand.five.tv: Obtaining the RTMPE URL


I've written this script which is supposed to request http://demand.five.tv/Handlers/FlashEpisode.ashx?baseName=$id with the referer "http://demand.five.tv/Episode.aspx" using a Glype-compatible proxy. In this case I am using Teamcat.com but allegedly any other Glype proxy works too. The problem is that the Five-server does not recognize the proxy. Perhaps somebody from the UK can verify the parameters? Thanks.

Code:
<?php

	// $proxy = 'http://skipadmin.com/browse.php';
	$proxy = 'http://teamcat.info/browse.php';

	$id = 'C5143450001';

	$context = stream_context_create(array('http' => array(
			'header' => 'Referer: '
				. $proxy . '?u='
				. base64_encode("://demand.five.tv/Episode.aspx")
				. '&b=13'
	)));

	$contents = file_get_contents(
		$proxy . '?u=' .
		base64_encode("://demand.five.tv/Handlers/FlashEpisode.ashx?baseName=$id") . '&b=13',
		false,
		$context
	);

	echo $contents;
Reply With Quote