mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
arenaBG: optionally use .torrent instead of magnet
Also fix date processing.
This commit is contained in:
@@ -68,6 +68,21 @@
|
|||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: downloadlink
|
||||||
|
type: select
|
||||||
|
label: Download link
|
||||||
|
default: "magnet:"
|
||||||
|
options:
|
||||||
|
"/download/" : ".torrent"
|
||||||
|
"magnet:": "magnet"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: /
|
path: /
|
||||||
method: form
|
method: form
|
||||||
@@ -85,7 +100,7 @@
|
|||||||
selector: a[href="/users/logout/"]
|
selector: a[href="/users/logout/"]
|
||||||
|
|
||||||
download:
|
download:
|
||||||
selector: a[href^="magnet:?"]
|
selector: a[href^="{{ .Config.downloadlink }}"]
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
@@ -122,14 +137,14 @@
|
|||||||
selector: td:nth-child(4)
|
selector: td:nth-child(4)
|
||||||
date:
|
date:
|
||||||
# 08:49:09
|
# 08:49:09
|
||||||
selector: td:nth-child(3):has(":")
|
selector: td:nth-child(3):contains(":")
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "15:04:05"
|
args: "15:04:05"
|
||||||
date:
|
date:
|
||||||
# 2018-10-19
|
# 2018-10-19
|
||||||
selector: td:nth-child(3):has("-")
|
selector: td:nth-child(3):contains("-")
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
|
Reference in New Issue
Block a user