mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
slosoul: fix .torrent download.
This commit is contained in:
@@ -5,6 +5,7 @@ description: "slosoul is a Slovanian Private Torrent Tracker for MOVIES / TV /
|
|||||||
language: en-US
|
language: en-US
|
||||||
type: private
|
type: private
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
|
testlinktorrent: false
|
||||||
links:
|
links:
|
||||||
- https://slosoul.net/
|
- https://slosoul.net/
|
||||||
|
|
||||||
@@ -74,7 +75,7 @@ download:
|
|||||||
path: takethanks.php
|
path: takethanks.php
|
||||||
method: post
|
method: post
|
||||||
inputs:
|
inputs:
|
||||||
torrentid: "{{ .DownloadUri.Query.id }}"
|
torrentid: "{{ re_replace .DownloadUri.PathAndQuery \".*torrent-details-(\\d+).*\" \"$1\"}}"
|
||||||
selectors:
|
selectors:
|
||||||
- selector: a[href*="download-torrent-"]
|
- selector: a[href*="download-torrent-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
@@ -118,10 +119,10 @@ search:
|
|||||||
title:
|
title:
|
||||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||||
details:
|
details:
|
||||||
selector: a[href*="details.php?id="]
|
selector: a[href*="torrent-details-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href*="details.php?id="]
|
selector: a[href*="torrent-details-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
magnet:
|
magnet:
|
||||||
selector: a[href^="magnet:?xt="]
|
selector: a[href^="magnet:?xt="]
|
||||||
|
Reference in New Issue
Block a user