Dovoljan ti je samo HTTP GET:
http://php.net/manual/en/function.http-get.php
http://php.net/curl
itd.
i neka klasa kao što je ova (
http://www.phpclasses.org/browse/file/24765.html) za dekodiranje Torrent fajla i izvlačenje trekera (a možeš to i ručno da uradiš).
P.S. Sad vidim da ova klasa ima metodu
Code:
public function scrape ( $announce = null, $hash_info = null, $timeout = self::timeout )
Code:
$torrent = new Torrent( './test.torrent' );
echo '<pre>private: ', $torrent->is_private() ? 'yes' : 'no',
'<br>annonce: ';
var_dump( $torrent->announce() );
echo '<br>name: ', $torrent->name(),
'<br>comment: ', $torrent->comment(),
'<br>piece_length: ', $torrent->piece_length(),
'<br>size: ', $torrent->size( 2 ),
'<br>hash info: ', $torrent->hash_info(),
'<br>stats: ';
// Evo primera:
var_dump( $torrent->scrape() );
echo '<br>content: ';
var_dump( $torrent->content() );
echo '<br>source: ',
$torrent;