Add torrents to Deluge via Web API

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

目前为 2020-03-25 提交的版本。查看 最新版本

作者
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 torrent links will have their opacity adjusted as per linkOpacity and may be 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, 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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址