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

slosoul: fix .torrent download.

This commit is contained in:
Garfield69 2021-11-02 20:21:06 +13:00
parent b9728592a9
commit eda424d3f9

View file

@ -5,6 +5,7 @@ description: "slosoul is a Slovanian Private Torrent Tracker for MOVIES / TV /
language: en-US
type: private
encoding: UTF-8
testlinktorrent: false
links:
- https://slosoul.net/
@ -74,7 +75,7 @@ download:
path: takethanks.php
method: post
inputs:
torrentid: "{{ .DownloadUri.Query.id }}"
torrentid: "{{ re_replace .DownloadUri.PathAndQuery \".*torrent-details-(\\d+).*\" \"$1\"}}"
selectors:
- selector: a[href*="download-torrent-"]
attribute: href
@ -118,10 +119,10 @@ search:
title:
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
details:
selector: a[href*="details.php?id="]
selector: a[href*="torrent-details-"]
attribute: href
download:
selector: a[href*="details.php?id="]
selector: a[href*="torrent-details-"]
attribute: href
magnet:
selector: a[href^="magnet:?xt="]