mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Revert "slosoul: upgrade for TSUE 2.2 #12435"
This reverts commit ce75ba4a92
.
This commit is contained in:
@@ -7,35 +7,27 @@ type: private
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
testlinktorrent: false
|
testlinktorrent: false
|
||||||
links:
|
links:
|
||||||
- http://slosoul.net/ # site is forcing http
|
|
||||||
legacylinks:
|
|
||||||
- https://slosoul.net/
|
- https://slosoul.net/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
- {id: 34, cat: Movies/SD, desc: "Filmi - Xvid"}
|
- {id: 5, cat: PC, desc: "Apps"}
|
||||||
- {id: 35, cat: Movies/DVD, desc: "Filmi - DVD"}
|
- {id: 7, cat: Books/EBook, desc: "Ebooks"}
|
||||||
- {id: 36, cat: Movies/BluRay, desc: "Filmi - BluRay"}
|
- {id: 6, cat: PC/Games, desc: "Games PC"}
|
||||||
- {id: 37, cat: Movies/HD, desc: "Filmi - X264"}
|
- {id: 8, cat: Movies, desc: "Movies Packs"}
|
||||||
- {id: 38, cat: Audio/MP3, desc: "Glasba - MP3"}
|
- {id: 1, cat: Movies/SD, desc: "Movies Divx/Xvid"}
|
||||||
- {id: 39, cat: Audio/Lossless, desc: "Glasba - FLAC"}
|
- {id: 9, cat: Movies/DVD, desc: "Movies DVD-r"}
|
||||||
- {id: 40, cat: PC/Games, desc: "Igre - PC"}
|
- {id: 11, cat: Movies/BluRay, desc: "Movies BluRay"}
|
||||||
- {id: 42, cat: TV/Documentary, desc: "Dokumentarni filmi"}
|
- {id: 3, cat: Audio, desc: "Music"}
|
||||||
- {id: 43, cat: TV/Sport, desc: "Šport"}
|
- {id: 4, cat: XXX, desc: "Porn"}
|
||||||
- {id: 44, cat: TV/Anime, desc: "Risanke"}
|
- {id: 13, cat: TV/Sport, desc: "TV Sport"}
|
||||||
- {id: 45, cat: TV, desc: "TV - Serije"}
|
- {id: 10, cat: TV, desc: "TV Shows"}
|
||||||
- {id: 46, cat: PC, desc: "Programi"}
|
- {id: 12, cat: Other, desc: "VIP"}
|
||||||
- {id: 47, cat: Books/EBook, desc: "E-Knjige"}
|
|
||||||
- {id: 48, cat: Other, desc: "Slike"}
|
|
||||||
- {id: 49, cat: Other, desc: "Ostalo"}
|
|
||||||
- {id: 50, cat: XXX/XviD, desc: "Erotika - Xvid"}
|
|
||||||
- {id: 51, cat: XXX/DVD, desc: "Erotika - DVD"}
|
|
||||||
- {id: 52, cat: XXX/ImageSet, desc: "Erotika - Slike"}
|
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
movie-search: [q]
|
movie-search: [q, imdbid]
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
book-search: [q]
|
book-search: [q]
|
||||||
|
|
||||||
@@ -66,122 +58,108 @@ settings:
|
|||||||
asc: asc
|
asc: asc
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: ?p=home&pid=1
|
path: takelogin.php
|
||||||
method: form
|
method: post
|
||||||
form: form#loginbox_form
|
|
||||||
submitpath: ajax/login.php
|
|
||||||
inputs:
|
inputs:
|
||||||
action: login
|
username: "{{ .Config.username }}"
|
||||||
loginbox_membername: "{{ .Config.username }}"
|
password: "{{ .Config.password }}"
|
||||||
loginbox_password: "{{ .Config.password }}"
|
logout: ""
|
||||||
loginbox_remember: 1
|
|
||||||
selectorinputs:
|
|
||||||
securitytoken:
|
|
||||||
selector: "script:contains(\"stKey: \")"
|
|
||||||
filters:
|
|
||||||
- name: regexp
|
|
||||||
args: "stKey: \"(.+?)\","
|
|
||||||
error:
|
error:
|
||||||
- selector: div.error
|
- selector: table:has(td.thead:contains("An error has occured!"))
|
||||||
- selector: :contains("-ERROR-")
|
|
||||||
test:
|
test:
|
||||||
path: ?p=home&pid=1
|
path: index.php
|
||||||
selector: div#member_info_bar
|
selector: a[href*="logout.php?logouthash="]
|
||||||
|
|
||||||
|
download:
|
||||||
|
before:
|
||||||
|
path: takethanks.php
|
||||||
|
method: post
|
||||||
|
inputs:
|
||||||
|
torrentid: "{{ re_replace .DownloadUri.PathAndQuery \".*torrent-details-(\\d+).*\" \"$1\"}}"
|
||||||
|
selectors:
|
||||||
|
- selector: a[href*="download-torrent-"]
|
||||||
|
attribute: href
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
p: torrents
|
do: search
|
||||||
pid: 10
|
# does not support multi categories so defaulting to ALL
|
||||||
$raw: "{{ range .Categories }}&cid[]={{.}}{{end}}"
|
category: 0
|
||||||
keywords: "{{ .Keywords }}"
|
# yes incldead, no activeonly
|
||||||
# name, description, both, uploader
|
include_dead_torrents: yes
|
||||||
search_type: name
|
keywords: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
"sortOptions[sortBy]": "{{ .Config.sort }}"
|
# t_name, t_description, t_both, t_uploader, t_genre
|
||||||
"sortOptions[sortOrder]": "{{ .Config.type }}"
|
search_type: "{{ if .Query.IMDBID }}t_genre{{ else }}t_name{{ end }}"
|
||||||
# does not support imdbid searching
|
sort: "{{ .Config.sort }}"
|
||||||
|
order: "{{ .Config.type }}"
|
||||||
|
# does not return imdb link in results
|
||||||
|
keywordsfilters:
|
||||||
|
- name: re_replace # replace special characters with "%" (wildcard)
|
||||||
|
args: ["[^a-zA-Z0-9]+", "%"]
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: "div.torrent-box[id^=\"torrent_\"]{{ if .Config.freeleech }}:has(img[src$=\"/torrent_free.png\"]){{ else }}{{ end }}"
|
selector: "table#sortabletable tbody tr:has(a[href*=\"download-torrent-\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href*="?p=torrents&pid=10&cid="]
|
selector: a[href*="torrent-category-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: regexp
|
||||||
args: cid
|
args: (\d+)
|
||||||
|
title_default:
|
||||||
|
# is often abbreviated
|
||||||
|
selector: a[href*="torrent-details-"]
|
||||||
|
title_optional:
|
||||||
|
# usually longer than details title
|
||||||
|
selector: div[id^="port-content-"] div
|
||||||
|
optional: true
|
||||||
title:
|
title:
|
||||||
selector: a[href*="?p=torrents&pid=10&action=details&tid="]
|
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||||
details:
|
details:
|
||||||
selector: a[href*="?p=torrents&pid=10&action=details&tid="]
|
selector: a[href*="torrent-details-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href*="?p=torrents&pid=10&action=download&tid="]
|
selector: a[href*="torrent-details-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
magnet:
|
magnet:
|
||||||
selector: a[href^="magnet:?xt="]
|
selector: a[href^="magnet:?xt="]
|
||||||
attribute: href
|
attribute: href
|
||||||
poster:
|
poster:
|
||||||
selector: a[href*="data/torrents/torrent_images/"]
|
selector: div[id^="port-content-"] img
|
||||||
attribute: href
|
attribute: src
|
||||||
imdbid:
|
date:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: td:nth-child(2) > div:last-child
|
||||||
attribute: href
|
|
||||||
size:
|
|
||||||
selector: a[rel="torrent_size"]
|
|
||||||
grabs:
|
|
||||||
selector: a[rel="times_completed"]
|
|
||||||
seeders:
|
|
||||||
selector: a[rel="torrent_seeders"]
|
|
||||||
leechers:
|
|
||||||
selector: a[rel="torrent_leechers"]
|
|
||||||
date_time:
|
|
||||||
selector: div.torrentOwner abbr
|
|
||||||
optional: true
|
|
||||||
attribute: data-time
|
|
||||||
date_day:
|
|
||||||
# Naložil včeraj ob 12:00 by
|
|
||||||
# Naložil danes ob 09:28 by
|
|
||||||
# Uploaded Today at 09:17 by
|
|
||||||
# Uploaded Yesterday at 10:31 by
|
|
||||||
selector: div.torrentOwner:contains("day"), div.torrentOwner:contains("včeraj"), div.torrentOwner:contains("danes")
|
|
||||||
optional: true
|
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: " (.+?) by"
|
args: (\d{2}-\d{2}-\d{4} \d{2}:\d{2})
|
||||||
- name: replace
|
|
||||||
args: [" ob ", " at "]
|
|
||||||
- name: replace
|
|
||||||
args: ["danes", "Today"]
|
|
||||||
- name: replace
|
|
||||||
args: ["včeraj", "Yesterday"]
|
|
||||||
- name: append
|
|
||||||
args: " +00:00" # auto adjusted by site account profile
|
|
||||||
- name: fuzzytime
|
|
||||||
date_year:
|
|
||||||
selector: div.torrentOwner:contains("-")
|
|
||||||
optional: true
|
|
||||||
filters:
|
|
||||||
- name: regexp
|
|
||||||
args: " (.+?) by"
|
|
||||||
- name: append
|
- name: append
|
||||||
args: " +00:00" # auto adjusted by site account profile
|
args: " +00:00" # auto adjusted by site account profile
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "02-01-2006 15:04 -07:00"
|
args: "02-01-2006 15:04 -07:00"
|
||||||
date:
|
size:
|
||||||
text: "{{ if or .Result.date_time .Result.date_year .Result.date_day }}{{ or .Result.date_time .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
selector: td:nth-child(5)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-child(6)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(7)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(8)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src$="/torrent_free.png"]: 0
|
img[src$="/freedownload.gif"]: 0
|
||||||
|
img[src$="/silverdownload.gif"]: 0.5
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
case:
|
||||||
|
img[src$="/x2.gif"]: 2
|
||||||
|
"*": 1
|
||||||
# TBD, Rules and FAQ do not cover this yet
|
# TBD, Rules and FAQ do not cover this yet
|
||||||
# minimumratio:
|
# minimumratio:
|
||||||
# text: 1.0
|
# text: 1.0
|
||||||
# minimumseedtime:
|
# minimumseedtime:
|
||||||
# # 2 days (as seconds = 2 x 24 x 60 x 60)
|
# # 2 days (as seconds = 2 x 24 x 60 x 60)
|
||||||
# text: 172800
|
# text: 172800
|
||||||
# TSUE 2.2
|
# TS Special Edition v.8.0
|
||||||
|
Reference in New Issue
Block a user