How to convert torrent info hash for scrape?

前端 未结 3 2045
心在旅途
心在旅途 2021-01-06 14:14

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

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-06 14:33

    It's a raw hexadecimal representation. Use pack() with H to convert it. Then URL encode it.

提交回复
热议问题