Add torrents to Transmission via RPC

Add torrents to Transmission via RPC interface

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
lalbornoz
日安装量
0
总安装量
41
评分
0 0 0
版本
1.5
创建于
2020-03-25
更新于
2020-03-25
大小
4.2 KB
许可证
MIT
适用于
所有网站

Add torrents to Transmission via RPC API

Eligible torrent links will have their opacity adjusted as per linkOpacity and queued on-click; the <Ctrl> key held on-click inhibits script processing of torrent links to allow downloading a torrent file.

This script requires in-script configuration prior to usage. Consult the following table and set, at minimum, downloadDir, transmissionRpcAuth, and transmissionRpcUrl.

Variable nameDefault valueDescription
debugfalsePrint debugging messages to Web console
downloadDir"": "/absolute/path/to/download/dir"Ordered dictionary of domain name keys mapping to download directory pathnames
transmissionRpcAuthDouble-colon (:) separated Transmission RPC username and password
transmissionRpcUrlhttps://hostname:port/rpcURL to Transmission RPC
linkOpacity0.5Opacity of torrent links eligible for one-click queueing