mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-02 08:34:32 +02:00
xwtorrents: add optional seedbox dl resolves #5071
This commit is contained in:
@@ -61,6 +61,19 @@
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: seedbox
|
||||
type: checkbox
|
||||
label: "Use SeedBox Download Link"
|
||||
default: false
|
||||
|
||||
login:
|
||||
path: login.php
|
||||
@@ -103,9 +116,14 @@
|
||||
title:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: title
|
||||
download:
|
||||
download1:
|
||||
selector: a[href^="download.php"]
|
||||
attribute: href
|
||||
download2:
|
||||
selector: a[href^="download2.php"]
|
||||
attribute: href
|
||||
download:
|
||||
text: "{{if .Config.seedbox}}{{ .Result.download2 }}{{else}}{{ .Result.download1 }}{{end}}"
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
|
Reference in New Issue
Block a user