Magnet URI (BitTorrent)
ID magnet_link
DatatypeNot PIIidentifier
URI of the magnet: scheme that identifies a file or a torrent by a hash of its content instead of by its location, used by BitTorrent and other peer-to-peer clients. The parameter xt (exact topic) holds a URN such as urn:btih:<info hash> for BitTorrent v1 (BEP 9) or urn:btmh:<multihash> for v2 (BEP 52); optional parameters include dn (display name), tr (tracker URL), ws (web seed) and xs (exact source). The regexp requires an xt parameter, in any position.
- Parent datatype
- Uniform Resource Identifier (URI)
uri - Categories
- Internet, Universal unique identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 2 rules (1 by field name, 1 by value)
magnetlinkfieldfield, common/internet.yamlmagnetlinkvaluedata, common/internet.yaml
- Supported by tools
- metacrafter
Regular expression
^magnet:\?(?:[^\s&#]*&)*xt(?:\.[0-9]+)?=urn:[A-Za-z0-9][A-Za-z0-9-]{0,31}:[^\s&#]+(?:&[^\s#]*)?$
Python re syntax.
Examples
| Value | Description |
|---|---|
| magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel&tr=udp%3A%2F%2Fexplodie.org%3A6969 | Sintel magnet link published by WebTorrent, cut to one tracker |
| magnet:?xt=urn:btih:dd8255ecdc7ca55fb0bbf81323d87062db1f6d1c&dn=Big+Buck+Bunny | Big Buck Bunny, published by WebTorrent |
| magnet:?dn=Sintel&xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10 | Display name before the exact topic |
| magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10 | Exact topic only |
| magnet:?dn=Sintel&tr=udp%3A%2F%2Fexplodie.org%3A6969 invalid | No exact topic (xt) |
| https://webtorrent.io/torrents/sintel.torrent invalid | URL of a .torrent file |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Magnet-ссылка | URI схемы magnet:, который указывает файл или торрент по хешу содержимого, а не по адресу. |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Magnet_URI_scheme
- doc: https://www.bittorrent.org/beps/bep_0009.html
- doc: https://www.bittorrent.org/beps/bep_0052.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/magnet_link - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/internet/magnet_link.yamlon GitHub