medariox / scrapeer

Essential PHP library that scrapes HTTP(S) and UDP trackers for torrent information.
93 stars 29 forks source link

Reduce the time #24

Closed egbertosullivan closed 4 years ago

egbertosullivan commented 4 years ago

It is possible to reduce the execution time, because I found it a little slow in the execution.

medariox commented 4 years ago

I guess you want to reduce the timeout? It can be done by passing it to the scrape method, like: scrape( $hashes, $trackers, null, 1 ) Will reduce it to 1s. You can't go lover than this to avoid tracker abuse.