查询辅种
http
POST /reseed/index/index HTTP/1.1
Token: IYUU1T15d11d6a04492ad9
Content-Type: application/x-www-form-urlencoded
Host: 2025.iyuu.cn
Content-Length: 188
hash=["7866fdafbcc5ad504c7750f2d4626dc03954c50a"]&sha1=e69d14621a10409aefc55e024bc4c629796860aa&sid_sha1=cf321ce3f816e10fc182c82c1758821a54b79b0f×tamp=1715580493&version=8.2.0
使用场景
用给定的种子infohash,查询可辅种的数据。
接口URL
/reseed/index/index
请求方式
POST
Content-Type
application/x-www-form-urlencoded
请求Header参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
token | IYUU1T15d11d6a04492ad9 | String | 是 | IYUU的token |
请求Body参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
hash | ["7866fdafbcc5ad504c7750f2d4626dc03954c50a"] | String | 是 | 种子info_hash |
sha1 | e69d14621a10409aefc55e024bc4c629796860aa | String | 是 | sha1 算法 |
sid_sha1 | cf321ce3f816e10fc182c82c1758821a54b79b0f | String | 是 | 站点哈希值 |
timestamp | 1715580493 | String | 是 | 时间戳 |
version | 8.2.0 | String | 是 | 版本号 |
Body参数sha1算法
- 对待辅种的hash数组,按字典排序 sort,得到
有序数组A
- 对排序后的
有序数组A
,编码为json,得到json字符串B
- 对编码后的
json字符串B
,进行sha1计算,得出40个字符串(小写)
即为sha1的值
成功响应示例
json
{
"code": 0,
"data": {
"7866fdafbcc5ad504c7750f2d4626dc03954c50a": {
"torrent": [
{
"sid": 32,
"torrent_id": 19537,
"info_hash": "93665ee3f41f1845c6628b105b2d236cc08b9826"
},
{
"sid": 14,
"torrent_id": 413945,
"info_hash": "9e2e41fba99d135db84585419703906ec710e241"
},
{
"sid": 4,
"torrent_id": 154461,
"info_hash": "39e846610187d267c87bd4da742bd880ed7e663d"
},
{
"sid": 25,
"torrent_id": 104149,
"info_hash": "15ed73e43f78c24b8f7398f9f7628993bc968732"
},
{
"sid": 9,
"torrent_id": 134805,
"info_hash": "a76ec3729030659497dceb4c3366635dc4b2e30a"
},
{
"sid": 7,
"torrent_id": 74215,
"info_hash": "d8eb971a9458389e86a4d0bfbc98371f2ac9eb7f"
},
{
"sid": 3,
"torrent_id": 433708,
"info_hash": "78306d265e518359a830687d64b94f289707de7a"
},
{
"sid": 6,
"torrent_id": 71366,
"info_hash": "45d9c26dea0567deeef468c86c5f76f1501e9b28"
},
{
"sid": 2,
"torrent_id": 75239,
"info_hash": "25f129320d53dfce8d36c5ed6cf5b14449bc8deb"
},
{
"sid": 5,
"torrent_id": 225633,
"info_hash": "1d696c72d45e0e9eee4d3c78fe255c197325b861"
},
{
"sid": 66,
"torrent_id": 6535,
"info_hash": "864b682e999a3cb2071244645dce127759d5a315"
},
{
"sid": 57,
"torrent_id": 34346,
"info_hash": "c5a14557d1dc4a793e940059dfc0da14f820e57f"
},
{
"sid": 23,
"torrent_id": 385384,
"info_hash": "aaaf95893251ba223c63d4d4a0be95480e015300"
},
{
"sid": 19,
"torrent_id": 16232,
"info_hash": "d784cd76ed827944d2804362ccca3ebb303ebf43"
},
{
"sid": 59,
"torrent_id": 45080,
"info_hash": "c461fc9525ae64bc18ff6cc17f645cce97d9489a"
},
{
"sid": 36,
"torrent_id": 84920,
"info_hash": "09a57ca98ff56836768ad87d8b20ad6e1fd1a333"
},
{
"sid": 15,
"torrent_id": 198526,
"info_hash": "0d74202c7037b3db2e99876dd012300a8e3e3f9c"
},
{
"sid": 38,
"torrent_id": 48158,
"info_hash": "1599a57695114afb59b0c37164dc85b3281991d7"
},
{
"sid": 27,
"torrent_id": 69329,
"info_hash": "90d9d1bbf06f6f967c33b357f0633f9ac4b0aada"
},
{
"sid": 24,
"torrent_id": 122133,
"info_hash": "9f8334e85dd7d9cac744f7c6c0dad9e89c49326d"
},
{
"sid": 56,
"torrent_id": 51903,
"info_hash": "d18bfdb7199d9c6ea1cd6d35b945d4429a7c8726"
},
{
"sid": 31,
"torrent_id": 18705,
"info_hash": "d8d2153fe8f6094c0184e69749fe2e0bba4d70ff"
},
{
"sid": 67,
"torrent_id": 164577,
"info_hash": "48b387cde798f840a4bad5c4e64774ba474c3f21"
},
{
"sid": 30,
"torrent_id": 77415,
"info_hash": "e90737421e05abc65ed58c843812ab6beea80fdf"
},
{
"sid": 71,
"torrent_id": 34248,
"info_hash": "3c38be0937a943c1c6b8e4eeea08a07c86fce15a"
},
{
"sid": 17,
"torrent_id": 55339,
"info_hash": "fc77d45adad478e8433e35c33a935b0a091eb14f"
},
{
"sid": 75,
"torrent_id": 14644,
"info_hash": "17dfc2682c439de1c94da3d8f6230e6d94f10840"
},
{
"sid": 79,
"torrent_id": 12152,
"info_hash": "32b1cada6ee493a426bf088b88717d99d03a1cb5"
},
{
"sid": 80,
"torrent_id": 27307,
"info_hash": "0d90d7e38e619cb000d04daa172534f94413f47b"
},
{
"sid": 63,
"torrent_id": 36714,
"info_hash": "97ae3aefa1a43c141c2f18197edbb2f52a177367"
},
{
"sid": 89,
"torrent_id": 48678,
"info_hash": "1cc3af1c1f4b692cb6f9dc40c12812f9c0a02649"
},
{
"sid": 8,
"torrent_id": 127418,
"info_hash": "16918b5aefa2e1e40fb1f1ce66c04a5b6385efcc"
},
{
"sid": 87,
"torrent_id": 33081,
"info_hash": "a81fae7cc6e69be56ce0f57f76c7130c431e17a4"
},
{
"sid": 68,
"torrent_id": 238530,
"info_hash": "cb6cf0917e96cb620fc96e938df24287c3cc35c7"
},
{
"sid": 84,
"torrent_id": 10388,
"info_hash": "65d2daf92da3344d13031eb4c8c6245150ef0348"
},
{
"sid": 82,
"torrent_id": 19475,
"info_hash": "4925c8271a355c5b6b96048ebf93c82b330f8056"
},
{
"sid": 88,
"torrent_id": 18302,
"info_hash": "b478f49d1113091849687cde7f609688aa33da0f"
},
{
"sid": 90,
"torrent_id": 15075,
"info_hash": "320d3878a83d8d33014cd7c52c6cfd67104ef099"
},
{
"sid": 86,
"torrent_id": 35772,
"info_hash": "1a817e9e9a5e302f8ee00e96b8ef5a54e7bcd1ff"
},
{
"sid": 70,
"torrent_id": 15283,
"info_hash": "e58f50cac25801399817ea4503c234873873d2f7"
},
{
"sid": 93,
"torrent_id": 8537,
"info_hash": "174fc18c03d52e8ccc7a71e92347b74f9d8c3885"
},
{
"sid": 94,
"torrent_id": 9814,
"info_hash": "3f3c839810d48cab44ecf561060bb92f7da5d433"
},
{
"sid": 97,
"torrent_id": 8090,
"info_hash": "04c323c6769d9fa4f97460ff2c3618570c2aa1af"
},
{
"sid": 103,
"torrent_id": 11848,
"info_hash": "717e2eea71aae5c5c6b3ff9cad07bbe252bb64c0"
},
{
"sid": 101,
"torrent_id": 9522,
"info_hash": "ab5ad7330b97d0f4bce2b6567efb950f35fcc209"
},
{
"sid": 105,
"torrent_id": 114553,
"info_hash": "43985119e8aeb1d46279f9d7c475c45142d5b961"
}
]
}
},
"msg": "ok"
}
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
code | 0 | Integer | 响应码:0成功 |
data | - | Object | 数据 |
data.7866fdafbcc5ad504c7750f2d4626dc03954c50a | - | Object | 客户端种子哈希 |
data.7866fdafbcc5ad504c7750f2d4626dc03954c50a.torrent | - | Array | 种子列表 |
data.7866fdafbcc5ad504c7750f2d4626dc03954c50a.torrent.sid | 32 | Integer | 站点ID |
data.7866fdafbcc5ad504c7750f2d4626dc03954c50a.torrent.torrent_id | 19537 | Integer | 种子ID |
data.7866fdafbcc5ad504c7750f2d4626dc03954c50a.torrent.info_hash | 93665ee3f41f1845c6628b105b2d236cc08b9826 | String | 种子info_hash |
msg | ok | String | 描述信息 |
错误响应示例
json
{
"code": 400,
"data": [],
"msg": "做种列表sha1校验失败"
}
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
code | 400 | Integer | 响应码:0成功 |
data | - | Array | 数据 |
msg | 做种列表sha1校验失败 | String | 描述信息 |