mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-11-10 17:12:36 +08:00
31 lines
1 KiB
Text
31 lines
1 KiB
Text
{
|
|
"keyGenerator": {
|
|
"algorithm": {
|
|
"type": "HASH",
|
|
"length": 8
|
|
},
|
|
"refreshOn": "TIMED_OR_AFTER_STARTED_ANNOUNCE",
|
|
"refreshEvery": 10,
|
|
"keyCase": "upper"
|
|
},
|
|
"peerIdGenerator": {
|
|
"algorithm": {
|
|
"type": "REGEX",
|
|
"pattern": "-UT353S-(\u008c)(\u00ad)[\u0001-\u00ff]{10}"
|
|
},
|
|
"refreshOn": "NEVER",
|
|
"shouldUrlEncode": true
|
|
},
|
|
"urlEncoder": {
|
|
"encodingExclusionPattern": "[A-Za-z0-9-]",
|
|
"encodedHexCase": "lower"
|
|
},
|
|
"query": "info_hash={infohash}&peer_id={peerid}&port={port}&uploaded={uploaded}&downloaded={downloaded}&left={left}&corrupt=0&key={key}&event={event}&numwant={numwant}&compact=1&no_peer_id=1",
|
|
"numwant": 200,
|
|
"numwantOnStop": 0,
|
|
"requestHeaders": [
|
|
{ "name": "User-Agent", "value": "uTorrent/353(111652236)(44428)" },
|
|
{ "name": "Accept-Encoding", "value": "gzip" },
|
|
{ "name": "Connection", "value": "Close" }
|
|
]
|
|
}
|