From 8f183042576fdc0ed2008f9782a2c883f16bca51 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 21 Dec 2019 15:24:58 +1300 Subject: [PATCH] torrent-turk: refresh categories add config sort options --- .../Definitions/torrent-turk.yml | 49 ++++++++++++++----- 1 file changed, 38 insertions(+), 11 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrent-turk.yml b/src/Jackett.Common/Definitions/torrent-turk.yml index 733c9d929..b53a4ae85 100644 --- a/src/Jackett.Common/Definitions/torrent-turk.yml +++ b/src/Jackett.Common/Definitions/torrent-turk.yml @@ -34,6 +34,14 @@ - {id: 167, cat: TV/Other, desc: "TV Programs"} - {id: 185, cat: TV/Documentary, desc: "TV/Documentary"} - {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: 172, cat: Audio, desc: "Music/Turkish"} @@ -66,6 +74,21 @@ type: info label: Layout default: "
  1. Only the English Classic profile is supported.
  2. Make sure to set the Torrent Listing (Listeleme Biçimi) option in your profile to Classic (Klasik)
  3. And set the Language (Dil) to English
  4. Using the Modern theme will prevent results, and using Turkish will prevent upload dates.
" + - 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: path: ?p=home&pid=1 @@ -73,7 +96,7 @@ form: form#loginbox_form submitpath: ajax/login.php inputs: - action: "login" + action: login loginbox_membername: "{{ .Config.username }}" loginbox_password: "{{ .Config.password }}" loginbox_remember: 1 @@ -96,16 +119,20 @@ - name: re_replace args: ["[^a-zA-Z0-9]+", "%25"] inputs: - p: "torrents" - pid: "32" - $raw: "{{range .Categories}}cid[]={{.}}&{{end}}" + p: torrents + pid: 32 + $raw: "{{ range .Categories }}cid[]={{.}}&{{end}}" keywords: "{{ .Keywords }}" - search_type: "name" - searchin: "title" + search_type: name + searchin: title + "sortOptions[sortBy]": "{{ .Config.sort }}" + "sortOptions[sortOrder]": "{{ .Config.type }}" error: - selector: div.error:not(:contains("Hiçbir sonuç bulunamadı.")) + rows: selector: table#torrents_table_classic > tbody > tr:has(td.torrent_name) + fields: title: selector: a[href*="?p=torrents&pid=10&action=details"] @@ -155,10 +182,10 @@ attribute: href downloadvolumefactor: case: - "img[title=\"FREE!\"]": "0" - "img[title=\"Download Multiplier: 0.5\"]": "0.5" - "*": "1" + "img[title=\"FREE!\"]": 0 + "img[title=\"Download Multiplier: 0.5\"]": 0.5 + "*": 1 uploadvolumefactor: case: - "img[title=\"Upload Multiplier: 2\"]": "2" - "*": "1" + "img[title=\"Upload Multiplier: 2\"]": 2 + "*": 1