Add torrents to Deluge via Web API

Add torrents to Deluge via Web API (requires patched deluge-web and ViolentMonkey)

当前为 2020-03-25 提交的版本,查看 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
lalbornoz
评分
0 0 0
版本
1.6
创建于
2020-03-23
更新于
2020-03-25
大小
10.4 KB
许可证
MIT
适用于
所有网站

Add torrents to Deluge via Web API (requires patched deluge-web[1] owing to missing functionality & unfixed bugs and ViolentMonkey due to 3rd-party cookies)

Eligible BitTorrent and/or Magnet links will have their opacity adjusted as per linkOpacity and queued on-click; the <Ctrl> key held on-click inhibits script processing of BitTorrent and Magnet links to e.g. allow downloading a BitTorrent file or Magnet protocol handlers to be run.

This script requires in-script configuration prior to usage. Consult the following table and set, at minimum, delugeDownloadDir, delugeHostId, delugeTorrentDirectory, delugeWebPassword, and delugeWebUrl.

Variable nameDefault valueDescription
debugfalsePrint debugging messages to Web console
delugeDownloadDir"": "/var/lib/deluge/downloads"Ordered dictionary of hostname and domain name keys mapping to download directory pathnames
delugeHostIdDeluge host identifier (see <deluge directory>/.config/deluge/hostlist.conf
delugeHttpAuthPasswordHTTP basic access authentication password (optional)
delugeHttpAuthUsernameHTTP basic access authentication username (optional)
delugeTorrentDirectory/var/lib/deluge/torrentsTorrent directory pathname
delugeWebPasswordDeluge host web password
delugeWebUrlprotocol://hostname[:port]/delugeURL to deluge-web
linkOpacity0.5Opacity of torrent links eligible for one-click queueing

References