medariox / scrapeer

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

Problem in scraping seeds and leeches from torrent. On local host it works fine. #25

Closed tabish-ali closed 3 years ago

tabish-ali commented 3 years ago

Hi, i have been using your scraper library for quite some time on my local host. But recently i launched torrent site and it raises a problem there. On local host it works fine.

Site: https://ghost-torrents.com

[0] => Invalid scrape connection (tracker.tfile.co:80). [1] => Couldn't write to socket. [2] => Couldn't write to socket. [3] => Couldn't connect to socket. [4] => Couldn't write to socket. [5] => Couldn't write to socket. [6] => Couldn't connect to socket. [7] => Couldn't write to socket. [8] => Couldn't write to socket. [9] => Couldn't write to socket. [10] => Couldn't write to socket. [11] => Couldn't write to socket. [12] => Couldn't write to socket. [13] => Couldn't connect to socket. [14] => Couldn't write to socket. [15] => Couldn't write to socket. [16] => Couldn't write to socket. [17] => Couldn't connect to socket. [18] => Couldn't write to socket. [19] => Couldn't write to socket. [20] => Couldn't write to socket. [21] => Couldn't write to socket. [22] => Couldn't write to socket. [23] => Couldn't write to socket. [24] => Couldn't write to socket. [25] => Couldn't connect to socket. [26] => Couldn't write to socket. [27] => Couldn't write to socket. [28] => Couldn't write to socket. [29] => Couldn't write to socket. [30] => Couldn't write to socket. [31] => Couldn't write to socket. [32] => Couldn't write to socket. [33] => Couldn't write to socket. [34] => Invalid scrape connection (explodie.org:6969). [35] => Couldn't write to socket. [36] => Couldn't write to socket. [37] => Couldn't write to socket.

There are 37 trackers in this torrent file.

medariox commented 3 years ago

This is likely a connection/network issue. Either your provider is blocking outgoing socket connections or the providers are blocking your server IP.

tabish-ali commented 3 years ago

yes, i have read similar issue. I asked them (hosting providers) they said you have to buy VPS. they cant enable udp port on shared hosting.

medariox commented 3 years ago

In this case there is nothing I can do for you.