1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-10 06:03:09 +00:00

thorsland: favour .torrent over magnet. resolves #14630

This commit is contained in:
Garfield69 2023-08-17 07:18:32 +12:00
parent 3ec6a55071
commit a8f994871f

View file

@ -217,7 +217,7 @@ download:
to: give
torrent: "{{ .DownloadUri.Query.id }}"
selectors:
- selector: a[href^="download?id="]
- selector: a[href^="download?id="], a[href^="magnet:?xt="]
attribute: href
search:
@ -272,9 +272,6 @@ search:
download:
selector: a[href^="/torrents-details?id="]
attribute: href
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
poster:
selector: img[src^="uploads/images/"]
attribute: src