[color=rgb(84, 172, 210)]--------------------------------------------------------------------------------------------------------------
READ THIS THREAD CAREFULLY, ONCE THIS IS FIXED, TORRENTTRADER WILL HAVE MOST ACCURATE AND THE FASTEST SCRAPER THERE IS.
ALSO YOU WILL BE ABLE TO INSTANTLY SCRAPE 100+ TORRENTS WITHOUT ANY TIMEOUT.
HELP IF YOU CAN.
--------------------------------------------------------------------------------------------------------------[/color]
Okay. Current udp scraper which we have here is [color=rgb(247, 218, 100)]not using the udptscraper.php to scrape hash[/color], it is using backend/parse.php which is very slow, bad and scrapes torrent file instead.
udptscraper.php is scraping info_hash and is instant, right now we scrape .torrent files which is slow and inaccurate.
[color=rgb(243, 121, 52)]Example:[/color]
Create new PHP file and add
[color=rgb(243, 121, 52)]Result: (Less than 1 second scraping)[/color]
------------------
We do have this option in scrape code, but the script prioritize this wrong part
[USER=20288]@m-jay[/USER] [USER=311]@MicroMonkey[/USER] [USER=3]@Munk[/USER] [USER=1398]@serph[/USER] [USER=1]@DarkMaster[/USER]
READ THIS THREAD CAREFULLY, ONCE THIS IS FIXED, TORRENTTRADER WILL HAVE MOST ACCURATE AND THE FASTEST SCRAPER THERE IS.
ALSO YOU WILL BE ABLE TO INSTANTLY SCRAPE 100+ TORRENTS WITHOUT ANY TIMEOUT.
HELP IF YOU CAN.
--------------------------------------------------------------------------------------------------------------[/color]
Okay. Current udp scraper which we have here is [color=rgb(247, 218, 100)]not using the udptscraper.php to scrape hash[/color], it is using backend/parse.php which is very slow, bad and scrapes torrent file instead.
udptscraper.php is scraping info_hash and is instant, right now we scrape .torrent files which is slow and inaccurate.
[color=rgb(243, 121, 52)]Example:[/color]
Create new PHP file and add
<?php
include "backend/udptscraper.php";
try{
$timeout = 2;
$scraper = new udptscraper($timeout);
$ret = $scraper->scrape('udp://tracker.leechers-paradise.org:6969',array('B3D90865B2C831802CEC740933043EF50A2B6313'));
print_r($ret);
}catch(ScraperException $e){
echo('Error: ' . $e->getMessage() . "<br />\n");
echo('Connection error: ' . ($e->isConnectionError() ? 'yes' : 'no') . "<br />\n");
}[color=rgb(243, 121, 52)]Result: (Less than 1 second scraping)[/color]
Array ( [B3D90865B2C831802CEC740933043EF50A2B6313] => Array ( [seeders] => 59 [completed] => 435 [leechers] => 3 [infohash] => B3D90865B2C831802CEC740933043EF50A2B6313 ) ) ------------------
We do have this option in scrape code, but the script prioritize this wrong part
$TorrentInfo = ParseTorrent("$site_config[torrent_dir]/$rowu[id].torrent");
$ann = $TorrentInfo[0];
$annlist = array();[USER=20288]@m-jay[/USER] [USER=311]@MicroMonkey[/USER] [USER=3]@Munk[/USER] [USER=1398]@serph[/USER] [USER=1]@DarkMaster[/USER]