BT种子格式示例

BT种子格式示例,由Bitspirit创建的种子

 

{

  “announce” : http://192.168.1.220:6969/announce

       “created by” : “Bitspirit/3.6.0

       “creation date” : 1294739558

       “encoding” : “UTF-8”

       “info” : {

                            “files” : [   {“length” : 76722176

                                             “path” : [“1.mpg”] },

           {“length” : 49303556

                                             “path” : [“2.mpg”] },

           {“length” : 26612124

                                             “path” : [“3.mpg”] },

           {“length” : 55365636

                                             “path” : [“4.mpg”] }

           ] 

                            “name” : “文件夹名”

                            “piece length” : 131072

                            “pieces” : “xxx……xxx”

    }

       “nodes” : [

                            [“88.182.76.98” , 19375],

                            [“46.116.148.4” , 16401],

                            [“94.189.137.82” , 52628],

                            [“89.79.125.57” , 50153],

                            [“90.50.161.205” , 8702],

                            [“58.152.147.79” , 10107]

    ]

}

上面的为多文件时的情况,如果只有一个文件,那么在info中,将没有files这个dictionary,同时,name将不表示文件夹,只表示文件名。

原文地址:https://www.cnblogs.com/YYi_H/p/1937983.html