I have a torrent hash from the magnet link. For example: fda164e7af470f83ea699a529845a9353cc26576 When I try to get information about leechers and peers I should request: ht
It's a raw hexadecimal representation. Use pack() with H to convert it. Then URL encode it.
H