Add torrents to Deluge via Web API

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
lalbornoz
今日安裝
0
安裝總數
50
評價
1 0 0
版本
1.8
建立日期
2020-03-23
更新日期
2020-03-30
尺寸
17.0 KB
授權條款
MIT
腳本執行於
所有網站

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

Eligible BitTorrent and/or Magnet links will have a clickable progress bar appended to them and may be queued on-click; refer to their tooltips for a detailed progress update.

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

References