torf._errors.MetainfoError: Invalid metainfo: ['info']['piece length'] is invalid: 25344
The [BitTorrentSpecification ](https://wiki.theory.org/BitTorrentSpecification?utm_source=chatgpt.com#piece:_.3Clen.3D0009.2BX.3E.3Cid.3D7.3E.3Cindex.3E.3Cbegin.3E.3Cblock.3E) says
> The piece length specifies the nominal piece size, and is usually a power of 2.
The https://www.bittorrent.org/beps/bep_0052.html says:
> The number of bytes that each logical piece in the peer protocol refers to. I.e. it sets the granularity of piece, request, bitfield and have messages. It must be a power of two and at least 16KiB.
So it should not be is_divisible_by_16_kib
1 条评论