From 044cfa851cae1b072580724cc44061a25fafe0ce Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 14 Jun 2021 18:28:55 +1200 Subject: [PATCH] 1337x; add fallback DL resolves #11865 also add back in torrage and btcache .torrent selectors add an info block to explain about fallback. --- src/Jackett.Common/Definitions/1337x.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/1337x.yml b/src/Jackett.Common/Definitions/1337x.yml index 01549d3e4..c8152f970 100644 --- a/src/Jackett.Common/Definitions/1337x.yml +++ b/src/Jackett.Common/Definitions/1337x.yml @@ -143,7 +143,22 @@ settings: default: "magnet:" options: "http://itorrents.org/": iTorrents.org + "http://torrage.info/": Torrage + "http://btcache.me/": BTcache "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 type: select label: Sort requested from site @@ -161,10 +176,12 @@ settings: asc: asc download: - # the .torrent url is on the on the details page + # the .torrent URL and magnet URI are on the details page selectors: - selector: ul li a[href^="{{ .Config.downloadlink }}"] attribute: href + - selector: ul li a[href^="{{ .Config.downloadlink2 }}"] + attribute: href search: paths: