简体   繁体   English

来自torrent文件的Ruby Magnet链接

[英]Ruby Magnet link from torrent file

How do I generate a magnet link from a given torrent file? 如何从给定的torrent文件生成磁力链接? Similar to this: Given a .torrent file how do I generate a magnet link in python? 与此类似: 给定.torrent文件如何在python中生成磁链接?

Extra points if you explain how magnet links work. 如果您解释磁力链接的工作原理,请加分。 Thanks. 谢谢。

You may be interested in this script: A ruby script to construct magnet links out of .torrent files 您可能对此脚本感兴趣: 一个ruby脚本,用于构建.torrent文件中的磁链接

Also, a relevant Stack Overflow question: How do BitTorrent magnet links work? 此外,相关的Stack Overflow问题: BitTorrent磁力链接如何工作?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM