Torrent 共享是一种流行的点对点文件共享方法,主要用于从 Internet 下载音乐、电影等文件。基本上(Basically),用户安装一个 BitTorrent 客户端,如uTorrent 或 Vuze(uTorrent or Vuze)在下载任何文件之前。然后 torrent 客户端从 torrent 服务器下载 torrent 文件,以获取有关 torrent 索引站点的信息以及客户端可以下载数据块的位置。在相关的说明中,torrent 文件是一个数据存储库,其中包含有用的信息,例如您要下载的特定文件的跟踪器、播种器和 leechers。一旦 torrent 客户端知道它可以在 .torrent 文件的帮助下下载所有数据块的位置,torrent 客户端就会计算一个唯一的哈希码,该哈希码有助于找到正在上传这些文件的对等方、leechers 和播种者,您可以下载这些文件从他们。
什么是磁力链接
如今,大多数 torrent 网站都托管磁力链接而不是 torrent 文件。在访问 torrent 站点时,您可能遇到了Magnet links一词。磁力(Magnet)链接与驻留在服务器上的 .torrent 文件具有完全相同的作案方式。使用磁力链接可以轻松开始下载文件,磁力链接是一种超链接,由您要下载的文件的哈希码组成。使用磁力链接下载文件将消除用户下载位于服务器上的 .torrent 文件。
磁力链接使用DHT(分布式哈希表(Hash Table))而不是跟踪器从P2P种子网络下载数据。磁力链接包含从(Magnet)P2P共享网络下载文件所需的所有信息,与 torrent 文件相比,它是一种在P2P 网络中下载特定文件的无服务器方式。(P2P network)与传统使用 .torrent 文件相比,磁力链接提供了几个优势。用户可以通过电子邮件或消息轻松共享磁力链接,而不是在服务器上共享指向 .torrent 文件的链接。此外,即使跟踪器不可用,用户也有更高的机会下载文件。
使用磁力链接在主机端服务器节省了一些基础设施空间的同时,对用户来说也更加方便,只需点击磁力链接即可开始下载过程,最终节省了下载时间。
但是,用户在使用Chrome、Microsoft Edge和Firefox等浏览器(Browser)中的磁力链接时遇到了麻烦。在本文中,我们将解释如何在任何浏览器中使用磁力链接。
注意(NOTE):Torrent 可能是合法的,也可能是非法(Torrents may be legal or illegal)的。有些网站只提供他们拥有版权的合法内容或公共领域的东西。您应该查看您所在地区的法律,以查看您下载的内容是否合法。
如何在Chrome 浏览器中打开(Chrome Browser)磁力链接(Magnet Links)
单击内容设置(Content Settings),然后单击处理程序。(Handlers.)
将按钮切换到“允许站点要求成为协议的默认处理程序(推荐)”(“Allow sites to ask to become default handlers for protocols(recommended)”)。
现在转到 torrent 站点并单击磁铁链接下载文件。
如何在Microsoft Edge浏览器中打开磁力链接(Magnet Links)
按Windows key +R打开运行。输入regedit并点击 Ok
导航到以下路径:
\Computer\HKEY_CLASSES_ROOT\Magnet\shell\open\command
单击窗口窗格右侧的Default 键并将值更改为:(Default key)
"%1" /SHELLASSOC
单击确定(OK)以应用更改。
完成后,浏览器必须能够使用您的 torrent 客户端打开磁力链接。
如何在Firefox 浏览器中打开(Firefox Browser)磁力链接(Magnet Links)
打开Firefox 浏览器(Firefox browser)并在地址栏输入about:config。键入handler.expose。
右键单击并从下拉菜单中选择新建。(New)
从下拉菜单中选择布尔值。(Boolean)
将首选项名称命名为network.protocol-handler.expose.magnet。
将值设置为false。
现在单击磁力链接并在(magnet link)Firefox 启动应用程序(Firefox Launch Application)中选择Dialog和您的 torrent 客户端。
这里的所有都是它的!
阅读下一篇(Read next):如何将磁铁链接转换为直接下载链接(convert Magnet links to Direct Download links)。
What is a Magnet link and how to open Magnet links in a browser
Torrent sharing iѕ a popular pеer to peer file sharing method uѕed mainly to download files like musіc, moviе, etc. from the internet. Basically, the user installs a BitTorrent client like uTorrent or Vuze before downloading any file. The torrent client then downloads a torrent file from the torrent server to get the information about torrent index sites and where the client can download the chunks of data. On a related note, the torrent file is a data repository which contains useful information like the tracker, seeders, and leechers of the particular file you want to download. Once the torrent client knows where it can download all the chunks of data with the help of .torrent file, the torrent client calculates a unique hash code that helps in finding the peers, leechers, and seeders who are uploading those files which you can download from them.
What is a Magnet link
Nowadays, most of the torrent site is hosting magnet links instead of a torrent file. While visiting the torrent site, you might have come across the term Magnet links. Magnet link has quite a same modus operandi as a .torrent file which resides on the server. One can easily start downloading the files using magnet link which is a sort of hyperlink that consists of hash code for the file you want to download. Using a magnet link to download files will eliminate the user to download the .torrent files that sit on the server.
The magnet link uses DHT (Distributed Hash Table) instead of a tracker to download the data from a P2P torrent network. Magnet link contains all the information needed to download a file from P2P sharing network, and it is a serverless way of downloading the specific file in P2P network in contrast to the torrent file. The magnet links offer several advantages over the conventional use of .torrent files. The users can easily share a magnet link via email or, message instead of sharing a link to a .torrent file on a server. Additionally, the user has a higher chance of downloading a file even when a tracker is not available.
While the use of magnet link saves some infrastructural space on the server at the host side, it is also more convenient for the user as, all one has to do is, simply click on the magnet link to start the downloading process which ultimately saves the downloading time.
However, users have found trouble using the magnet links in Browser like Chrome, Microsoft Edge, and Firefox. In this article, we explain how to use the magnet link in any browser.
NOTE: Torrents may be legal or illegal. Some sites offer only legitimate content whose copyright they hold or things that are in the public domain. You should check with the law of your land to see what you are downloading is legal.
How to open Magnet Links in Chrome Browser
Click on Content Settings and click on Handlers.
Toggle the button to “Allow sites to ask to become default handlers for protocols(recommended)”.
Now go to the torrent site and click on magnet link to download the file.
How to open Magnet Links in Microsoft Edge browser
Press Windows key +R to open Run. Type regedit and click on Ok
Navigate to the following path:
\Computer\HKEY_CLASSES_ROOT\Magnet\shell\open\command
Click on Default key at the right side of the window pane and change the value to:
"%1" /SHELLASSOC
Click OK to apply changes.
Once done, the browser must be able to open magnet links with your torrent client.
How to open Magnet Links in Firefox Browser
Open Firefox browser and type about:config on the address bar. Type handler.expose.
Right-click and choose New from the drop-down menu.
Select Boolean from the drop-down menu.
Give the preference name network.protocol-handler.expose.magnet.
Set the value to false.
Now click on magnet link and choose Dialog and your torrent client in the Firefox Launch Application.
That’s all there is to it!
Read next: How to convert Magnet links to Direct Download links.