1.安装 torrentp 库

pip install torrentp

2.通过 torrent 文件下载

from torrentp import Torrent_downloader
torrent_file = Torrent_downloader("test.torrent", '.')
torrent_file.start_download()

3.通过磁力链接下载

from torrentp import Torrent_downloader
torrent_file = Torrent_downloader("magnet:...", '.')
torrent_file.start_download()
点赞(8)

评论列表 共有 0 评论

暂无评论