News for hackers. Stuff that matters.
Re:WebTorrent now works in the browser, end-to-end by finnn on Monday September 15, 2014 @01:04PM (#8319979)
As i understand it, a magnet URL is a way of transferring an infohash as a URL scheme, so that it works with other programs. For example, the following magnet URL:

magnet:?xt=urn:btih:e666231c9a34be278f6cfc390099e4084b30e023&dn=The.Giver+2014+720p+REPACK+HDRip.x264+AC3-JYK&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%2Fopen.demonii.com%3A1337

contains first the protocol (magnet:) which tells the OS that this is a magnet URL so give it to some app that can handle that. Since it's in URL form it's all broken down into & separated key/value pairs, so next part:

xt=urn:btih:e666231c9a34be278f6cfc390099e4084b30e023

is the infohash (actual infohash is e666231c9a34be278f6cfc390099e4084b30e02, the xt is just the key for that value, urn:btih probably means something, google it).

The other ones are pretty self-explanatory, the name of the torrent (presumably so the client can display something pretty before it has downloaded the metadata) and some trackers

Re:WebTorrent now works in the browser, end-to-end by M2Ys4U on Monday September 15, 2014 @05:22PM (#8321603)
> urn:btih probably means something, google it

It's a Uniform Resource Name (hence "urn"), btih (BitTorrent Info Hash) is the namespace identifier and the rest is the namespace-specific string, the actual infohash.

Re:WebTorrent now works in the browser, end-to-end by finnn on Tuesday September 16, 2014 @10:09AM (#8324523)
Thanks
Re:WebTorrent now works in the browser, end-to-end by tdoggette on Monday September 15, 2014 @02:53PM (#8320658)
Please edit or delete this comment. It's stretching the page.