mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrent-turk: refresh categories
add config sort options
This commit is contained in:
@@ -34,6 +34,14 @@
|
|||||||
- {id: 167, cat: TV/Other, desc: "TV Programs"}
|
- {id: 167, cat: TV/Other, desc: "TV Programs"}
|
||||||
- {id: 185, cat: TV/Documentary, desc: "TV/Documentary"}
|
- {id: 185, cat: TV/Documentary, desc: "TV/Documentary"}
|
||||||
- {id: 168, cat: TV/Other, desc: "TV/Other"}
|
- {id: 168, cat: TV/Other, desc: "TV/Other"}
|
||||||
|
- {id: 169, cat: TV/Other, desc: "TV/Boxset"}
|
||||||
|
|
||||||
|
- {id: 191, cat: TV, desc: "TV/BluTv"}
|
||||||
|
- {id: 192, cat: TV, desc: "TV/BluTv Series"}
|
||||||
|
- {id: 193, cat: Movies, desc: "TV/BluTv Film"}
|
||||||
|
- {id: 199, cat: TV, desc: "TV/Netflix"}
|
||||||
|
- {id: 189, cat: TV, desc: "TV/Netflix Series"}
|
||||||
|
- {id: 190, cat: Movies, desc: "TV/Netflix Film"}
|
||||||
|
|
||||||
- {id: 171, cat: Audio, desc: "Music"}
|
- {id: 171, cat: Audio, desc: "Music"}
|
||||||
- {id: 172, cat: Audio, desc: "Music/Turkish"}
|
- {id: 172, cat: Audio, desc: "Music/Turkish"}
|
||||||
@@ -66,6 +74,21 @@
|
|||||||
type: info
|
type: info
|
||||||
label: Layout
|
label: Layout
|
||||||
default: "<ol><li>Only the English Classic profile is supported.<li>Make sure to set the <b>Torrent Listing (Listeleme Biçimi)</b> option in your profile to <b>Classic (Klasik)</b><li>And set the <b>Language (Dil)</b> to <b>English</b><li>Using the <i>Modern</i> theme will prevent results, and using <i>Turkish</i> will prevent upload dates.</ol>"
|
default: "<ol><li>Only the English Classic profile is supported.<li>Make sure to set the <b>Torrent Listing (Listeleme Biçimi)</b> option in your profile to <b>Classic (Klasik)</b><li>And set the <b>Language (Dil)</b> to <b>English</b><li>Using the <i>Modern</i> theme will prevent results, and using <i>Turkish</i> will prevent upload dates.</ol>"
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "added"
|
||||||
|
options:
|
||||||
|
"added": "created"
|
||||||
|
"seeders": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: ?p=home&pid=1
|
path: ?p=home&pid=1
|
||||||
@@ -73,7 +96,7 @@
|
|||||||
form: form#loginbox_form
|
form: form#loginbox_form
|
||||||
submitpath: ajax/login.php
|
submitpath: ajax/login.php
|
||||||
inputs:
|
inputs:
|
||||||
action: "login"
|
action: login
|
||||||
loginbox_membername: "{{ .Config.username }}"
|
loginbox_membername: "{{ .Config.username }}"
|
||||||
loginbox_password: "{{ .Config.password }}"
|
loginbox_password: "{{ .Config.password }}"
|
||||||
loginbox_remember: 1
|
loginbox_remember: 1
|
||||||
@@ -96,16 +119,20 @@
|
|||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["[^a-zA-Z0-9]+", "%25"]
|
args: ["[^a-zA-Z0-9]+", "%25"]
|
||||||
inputs:
|
inputs:
|
||||||
p: "torrents"
|
p: torrents
|
||||||
pid: "32"
|
pid: 32
|
||||||
$raw: "{{ range .Categories }}cid[]={{.}}&{{end}}"
|
$raw: "{{ range .Categories }}cid[]={{.}}&{{end}}"
|
||||||
keywords: "{{ .Keywords }}"
|
keywords: "{{ .Keywords }}"
|
||||||
search_type: "name"
|
search_type: name
|
||||||
searchin: "title"
|
searchin: title
|
||||||
|
"sortOptions[sortBy]": "{{ .Config.sort }}"
|
||||||
|
"sortOptions[sortOrder]": "{{ .Config.type }}"
|
||||||
error:
|
error:
|
||||||
- selector: div.error:not(:contains("Hiçbir sonuç bulunamadı."))
|
- selector: div.error:not(:contains("Hiçbir sonuç bulunamadı."))
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table#torrents_table_classic > tbody > tr:has(td.torrent_name)
|
selector: table#torrents_table_classic > tbody > tr:has(td.torrent_name)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: a[href*="?p=torrents&pid=10&action=details"]
|
selector: a[href*="?p=torrents&pid=10&action=details"]
|
||||||
@@ -155,10 +182,10 @@
|
|||||||
attribute: href
|
attribute: href
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"img[title=\"FREE!\"]": "0"
|
"img[title=\"FREE!\"]": 0
|
||||||
"img[title=\"Download Multiplier: 0.5\"]": "0.5"
|
"img[title=\"Download Multiplier: 0.5\"]": 0.5
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"img[title=\"Upload Multiplier: 2\"]": "2"
|
"img[title=\"Upload Multiplier: 2\"]": 2
|
||||||
"*": "1"
|
"*": 1
|
||||||
|
Reference in New Issue
Block a user