mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
1337x; add fallback DL resolves #11865
also add back in torrage and btcache .torrent selectors add an info block to explain about fallback.
This commit is contained in:
@@ -143,7 +143,22 @@ settings:
|
|||||||
default: "magnet:"
|
default: "magnet:"
|
||||||
options:
|
options:
|
||||||
"http://itorrents.org/": iTorrents.org
|
"http://itorrents.org/": iTorrents.org
|
||||||
|
"http://torrage.info/": Torrage
|
||||||
|
"http://btcache.me/": BTcache
|
||||||
"magnet:": magnet
|
"magnet:": magnet
|
||||||
|
- name: downloadlink2
|
||||||
|
type: select
|
||||||
|
label: Download link (fallback)
|
||||||
|
default: "http://itorrents.org/"
|
||||||
|
options:
|
||||||
|
"http://itorrents.org/": iTorrents.org
|
||||||
|
"http://torrage.info/": Torrage
|
||||||
|
"http://btcache.me/": BTcache
|
||||||
|
"magnet:": magnet
|
||||||
|
- name: info_download
|
||||||
|
type: info
|
||||||
|
label: About the Download links
|
||||||
|
default: As the .torrent download links on this site are know to fail from time to time, you can optionally set as a fallback an automatic alternate link. We suggest using the magnet link as a fallback.
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
@@ -161,10 +176,12 @@ settings:
|
|||||||
asc: asc
|
asc: asc
|
||||||
|
|
||||||
download:
|
download:
|
||||||
# the .torrent url is on the on the details page
|
# the .torrent URL and magnet URI are on the details page
|
||||||
selectors:
|
selectors:
|
||||||
- selector: ul li a[href^="{{ .Config.downloadlink }}"]
|
- selector: ul li a[href^="{{ .Config.downloadlink }}"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
- selector: ul li a[href^="{{ .Config.downloadlink2 }}"]
|
||||||
|
attribute: href
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
Reference in New Issue
Block a user