Cerita ngéné.

Aku duwé koleksi akèh lan lumayan langka torrent sing ugung mari dak unduh. Nanging jalaran siji utawo loro prakara, aku kudu mindah wujud iku menyang sistem liya. La, ànà masalah. Jalaran “langka” iku aku lali saka endi aku nemu barang aneh iku.

Nanging bejoé, saben-saben torrent ànà info hash sing isà dadhi tetenger saben isian. La, iku sing isà dak gawé. Terus aku maca-maca lan nemu struktur Magnet URI.

[plain]magnet:?
xl = [ukuran ing bita]
& dn = [jenengé berkas (kakode URL)]
& xt = urn: tree: tiger: [ TTH hash (Base32)][/plain]

Panjelasan:

dn (Display Name) : Jeneng berkas
xl (eXact Length) : Ukuran ing bita
xt (eXact Topic) : URN sing isié berkas hash
as (Acceptable Source) : Tautan daring menyang berkas
xs (eXact Source) : tautan P2P.
kt (Keyword Topic) : Kata kunci golék
mt (Manifest Topic) : tautan menyang metafile sing isié daftar magneto (MAGMA — MAGnet MAnifest)
tr (address TRacker) : URL Tracker kanggé ngunduh BitTorrent

Terus?

Sàkà wujud akeh iku, sing dak butuhné ugur sapiro waé, ora kabeh. Kaya conto, aku gawé protokol BTIH, lan jeneng berkas Ubuntu 12.10-desktop-amd64, karo info hash: F36C92A8F78A1AFF70A61A5F5BFE5E6757176133. Tracker sing kapilih: udp://tracker.openbittorrent.com:80, udp://tracker.publicbt.com:80, lan udp://tracker.istole.it:6969. Wujudé Magnet URI:

[plain]magnet:?
xt=urn:btih:
f36c92a8f78a1aff70a61a5f5bfe5e6757176133
&dn=Ubuntu+12.10-desktop-amd64&
tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80
&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80
&tr=udp%3A%2F%2Ftracker.istole.it%3A6969
&tr=udp%3A%2F%2Ftracker.ccc.de%3A80[/plain]
Catêtan: Ojo langsung mindah kasil nyalin saka kode duwur, nanging guwak disik spasi (ASCII 32) ing antaraé bagian-bagian iku.

 Ruwêt!

Nyapo? Ruwêt? Pancen! Jalaran iku dak gawekné sekrip cilik ing ngis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