BT seed file format []

xiaoxiao2021-03-06  41

BT seed file format BT seed file uses a coding method called Bencoding to save data. Bencoding has four types of data: SRINGS, Integers, Lists, Dictionaries (Dictionary) encoding rules: strings encoded as: : For example: 4: Test is indicated as a string "test" 4: example is represented as a string "example" string length unit as byte is not started or end tag Integers (integer) encoded as: i e Start tag i The end is marked as e, for example: I1234E is expressed as an integer 1234i-1234e to indicate an integer -1234 integer without size limit I0E indicates that an integer 0i-0e is illegal as illegal as illegally, such as: I01234E is illegal Lists (list): l E Start tagging to l, end tags as e lists can contain any Bencoding encoding type, including integers, strings, lists, and dictionaries. For example: L4: Test5abcdee is represented as two strings ["TEST", "Abcde"] Dictionaries (Dictionary) encoded as D e Start tagging as D, end tagged as e keyword The Bencoding string value can be used for any Bencoding encoding type, for example: D3: Agei20ee is expressed as {"agn" = 20} D4: Path3: C: / 8: filename8: test.txte is expressed as {"=" C: / "," filename "=" test.txt "} The specific file structure is as follows: All content must be the Bencoding encoded type.

The entire file is a dictionary structure, including the following keyword Announce: Tracker server URL (Optional) Announce-list (optional TRACKER server list (list) Creation Date (optional): Time created by seed, UNIX standard Time format, from 1970 January 1 00:00:00 to the number of seconds (integer) Comment (Optional): Remarks (Optional): Create a man or create a program information (character Strings) Info: a dictionary structure, the main information of the file, is divided into two cases: single file structure or multi-file structure single file structure is as follows: Length: File length, unit byte (integer) MD5SUM (optional): Long 32 characters of the MD5 checksum, BT does not use this value, just to be reserved for some programs! (String) Name: file name (string) Piece Length: Size, unit bytes of each block ( Integer) PIECES: 20 bytes of each block (binary format) multi-file structure is as follows: FILES: a dictionary structure Length: File length, unit byte (integer) MD5SUM (optional): The same path and name in the file structure: the path and name of the file, is a list structure, such as the /test/test.txt list is L4: Test8Test.txte name: The top of the directory name (string) Piece Length: in the same single file structure The same PIECES: the same instance in the same file structure:

Open a .torrent can look like the following D8: Announce37: http://bt4.eastgame.net: 6969 / announce13: Announce-listll17: http: //bt4.eastgame.net: 6969 / announcee8: cotepagei936e13 : creation datei1104368830e4: infod5: filesld6: lengthi103884044e4: pathl50: Band.of.Brothers Arms .EP01.HDTV.720p.Recover.rareed6:. lengthi1211e4: pathl42:. Band.of.Brothers Arms .EP01.HDTV.720p.nfoeed6: lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part01.rareed6:. lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part02.rareed6:. lengthi102400000e4: pathl49: Band. of.Brothers Band of brothers .EP01.HDTV.720p.part03.rareed6:. lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part04.rareed6:. lengthi102400000e4: pathl49:. Band.of.Brothers Band of brothers. EP01.HDTV.720p.part05.rareed6: lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part06.rareed6:. lengthi102400000e4: pathl49:. Band.of.Brothers Arms .EP01.HDTV.720p. Part07.rareed6: lengthi102400000e4: pathl49: band.of.brothers. Brothers connected. EP01.HDTV.720P.Part08.rareed6: Lengthi102400000E4: PATHL49: Band.o f.Brothers Band of Brothers .EP01.HDTV.720p.part09.rareed6:. lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part10.rareed6:. lengthi102400000e4: pathl49:. Band.of.Brothers Band of Brothers. EP01.HDTV.720p.part11.rareed6: lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part12.rareed6:. lengthi102400000e4: pathl49:. Band.of.Brothers Arms .EP01.HDTV.720p. part13.rareed6: lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part14.rareed6:. lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part15.rareed6:. lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part16.rareed6:. lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part17.rareed6:. lengthi102400000e4: pathl49: Band.of. Brothers. The brothers. EP01.HDTV.720P.Part18.rareed6:

lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part19.rareed6:. lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part20.rareed6:. lengthi102400000e4: pathl49: Band. of.Brothers Band of brothers .EP01.HDTV.720p.part21.rareed6:. lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part22.rareed6:. lengthi102400000e4: pathl49:. Band.of.Brothers Band of brothers. EP01.HDTV.720p.part23.rareed6: lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part24.rareed6:. lengthi102400000e4: pathl49:. Band.of.Brothers Arms .EP01.HDTV.720p. part25.rareed6: lengthi102400000e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part26.rareed6:. lengthi19577056e4: pathl49: Band.of.Brothers Arms .EP01.HDTV.720p.part27.rareed6:. lengthi50169e4: Pathl42: Band.of.brothers. Brothers. EP01.HDTV.720P.SRTeee4: name38: band.of.brothers. Brothers connected. EP01.HDTV.720P12: Piece lengthi524288E6: Pieces106280: | K? Mu Lu 2 waving 8 insurance % 禸胒 帻 帻  SG * 敥舑 HPR? / P ▇R 銢 E-class Caozong group 鮼% easy to see Announce = http: //bt4.eastgame.net: 6969 / announcecreation date = 1104368830 second file Name = band.of.brothers. Brothers. EP01.HDTV .720p file block = 106280 file block size = 524288 byte PS: E Class E Cao Zong group% http: //goohome.kmip.net/blog.php

转载请注明原文地址:https://www.9cbs.com/read-74636.html

New Post(0)