hello how can i rescan my id.torrents from /uploads *(source) infohash and UPDATE them all to SQL torrents ??
i have over 40.000 torrents with bad INFOHASH and i can.t scrape them .. any ideaa ??
or how can i edit my code to scape them from source uploads/id.torrent
code $stats=$udp->scrape($tracker,$row["info_hash"]); ???
i have over 40.000 torrents with bad INFOHASH and i can.t scrape them .. any ideaa ??
or how can i edit my code to scape them from source uploads/id.torrent
try
{
$timeout = 5;
$udp= new udptscraper($timeout);
$stats=$udp->scrape($tracker,$row["info_hash"]);
foreach ($stats as $id=>$scrape)
{
$seeders += $scrape['seeders'];
$leechers += $scrape['leechers'];
$downloaded += $scrape['completed'];
}
}
catch(ScraperException $e)code $stats=$udp->scrape($tracker,$row["info_hash"]); ???