0

Can anyone explain me how to write a php script to convert info hash for scrape to get seeders and peers count from the tracker...

Thanks

2 Answers2

1

You can see the answer here https://stackoverflow.com/a/3272202/3155632 to convert info hash of a torrent for scrape

or use this : //Torrent hash = bc801b9d9972c432decafe56410f092e5de15ea6 $packed_hash = urlencode( pack('H*', $hash_info ? $hash_info :'bc801b9d9972c432decafe56410f092e5de15ea6' ) ); echo $packed_hash;

Community
  • 1
  • 1
user3155632
  • 484
  • 4
  • 18
0

You can use the Bitsnoop API at www.bitsnoop.com

http://bitsnoop.com/info/api.html

They have a very simple API you can use to get information about torrents.

In addition, you can combine the data you get from Bitsnoop and use

www.torrage.com

to get the download links etc.

arijeet
  • 1,858
  • 18
  • 26