diff --git a/src/Jackett.Common/Definitions/bitturk.yml b/src/Jackett.Common/Definitions/bitturk.yml index e78a772ac..761390dd8 100644 --- a/src/Jackett.Common/Definitions/bitturk.yml +++ b/src/Jackett.Common/Definitions/bitturk.yml @@ -91,7 +91,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 @@ -124,8 +124,10 @@ "sortOptions[sortOrder]": "{{ .Config.type }}" error: - selector: div.error:not(:contains("Gösterilecek sonuç bulunamadı.")) + rows: selector: table#torrents_table_classic tr:has(td.torrent_name) + fields: title: selector: a[href*="?p=torrents&pid=10&action=details"] @@ -181,3 +183,4 @@ case: "img[src$=\"/torrent_multiple_upload.png\"]": 2 "*": 1 +# TSUE 2.2 diff --git a/src/Jackett.Common/Definitions/btnext.yml b/src/Jackett.Common/Definitions/btnext.yml index eec18df24..6c0fe2d7d 100644 --- a/src/Jackett.Common/Definitions/btnext.yml +++ b/src/Jackett.Common/Definitions/btnext.yml @@ -115,16 +115,18 @@ - 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 error: - selector: div.error:not(:contains("Não existem resultados encontrados.")) + rows: selector: table#torrents_table_classic > tbody > tr:has(td.torrent_name) + fields: title: selector: a[href*="?p=torrents&pid=10&action=details"] @@ -154,11 +156,11 @@ attribute: href downloadvolumefactor: case: - "img[title=\"FREE!\"]": "0" - "*": "1" + "img[title=\"FREE!\"]": 0 + "*": 1 uploadvolumefactor: case: - "*": "1" + "*": 1 date: selector: td.torrent_name > abbr.timeago optional: true @@ -194,3 +196,4 @@ args: ["Domingo", "Sunday"] - name: dateparse args: "02-01-2006 15:04" +# TSUE 2.2 diff --git a/src/Jackett.Common/Definitions/kapaki.yml b/src/Jackett.Common/Definitions/kapaki.yml index 83e400d6e..98b8364f9 100644 --- a/src/Jackett.Common/Definitions/kapaki.yml +++ b/src/Jackett.Common/Definitions/kapaki.yml @@ -120,7 +120,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 @@ -143,18 +143,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 error: - selector: div#show_error:not(:contains("Ουπς! Λάθος!Δεν βρέθηκαν αποτελέσματα.")) + rows: selector: table#torrents_table_classic > tbody > tr:not(:first-child), div#content > div.torrent-box[id^="torrent_"] filters: - name: andmatch + # the tracker has two different styles (modern/classic) it should work with both fields: title: @@ -188,15 +190,14 @@ attribute: href downloadvolumefactor: case: - "img[title=\"ΧΡΥΣΟ!\"]": "0" - "img[title=\"100% FREE!\"]": "0" - "img[title=\"Πολλαπλασιαστής Κατεβάσματος: 0.5\"]": "0.5" - - "*": "1" + "img[title=\"ΧΡΥΣΟ!\"]": 0 + "img[title=\"100% FREE!\"]": 0 + "img[title=\"Πολλαπλασιαστής Κατεβάσματος: 0.5\"]": 0.5 + "*": 1 uploadvolumefactor: case: - "img[title=\"Πολλαπλασιαστής Ανεβάσματος: 2\"]": "2" - "*": "1" + "img[title=\"Πολλαπλασιαστής Ανεβάσματος: 2\"]": 2 + "*": 1 date: optional: true selector: div.torrentOwner > abbr.timeago @@ -234,3 +235,4 @@ args: ["Κυριακή", "Sunday"] - name: dateparse args: "02-01-2006 15:04" +# TSUE 2.2 diff --git a/src/Jackett.Common/Definitions/learnflakes.yml b/src/Jackett.Common/Definitions/learnflakes.yml index 0875479b3..6c0cde5be 100644 --- a/src/Jackett.Common/Definitions/learnflakes.yml +++ b/src/Jackett.Common/Definitions/learnflakes.yml @@ -170,3 +170,4 @@ uploadvolumefactor: case: "*": 1 +# TSUE 2.2 diff --git a/src/Jackett.Common/Definitions/magico.yml b/src/Jackett.Common/Definitions/magico.yml index 45aa39d2d..58231c205 100644 --- a/src/Jackett.Common/Definitions/magico.yml +++ b/src/Jackett.Common/Definitions/magico.yml @@ -105,7 +105,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 @@ -130,18 +130,20 @@ - name: re_replace args: ["[^\\w\\d]+", "%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 error: - selector: div#show_error font + rows: selector: div#content > div.torrent-box[id^="torrent_"], tr:has(a[href*="?p=torrents"][href*="&action=details"]) filters: - name: andmatch + fields: title: selector: a[href*="?p=torrents"][href*="&action=details"] @@ -181,11 +183,11 @@ selector: div.torrentDetails > div:has(span.floatright) downloadvolumefactor: case: - "img[title=\"No Record!\"]": "0" - "*": "1" + "img[title=\"No Record!\"]": 0 + "*": 1 uploadvolumefactor: case: - "*": "1" + "*": 1 date: optional: true selector: div.torrentOwner > abbr.timeago @@ -237,3 +239,4 @@ args: ["at ", ""] - name: dateparse args: "02-01-2006 15:04" +# TSUE 2.2 diff --git a/src/Jackett.Common/Definitions/nordichd.yml b/src/Jackett.Common/Definitions/nordichd.yml index a69381aeb..8937bd477 100644 --- a/src/Jackett.Common/Definitions/nordichd.yml +++ b/src/Jackett.Common/Definitions/nordichd.yml @@ -159,3 +159,4 @@ uploadvolumefactor: case: "*": 1 +# TSUE 2.2 diff --git a/src/Jackett.Common/Definitions/torrent-turk.yml b/src/Jackett.Common/Definitions/torrent-turk.yml index b53a4ae85..f7b917425 100644 --- a/src/Jackett.Common/Definitions/torrent-turk.yml +++ b/src/Jackett.Common/Definitions/torrent-turk.yml @@ -189,3 +189,4 @@ case: "img[title=\"Upload Multiplier: 2\"]": 2 "*": 1 +# TSUE 2.2 diff --git a/src/Jackett.Common/Definitions/turktorrent.yml b/src/Jackett.Common/Definitions/turktorrent.yml index 7f0e962e3..53ebe765c 100644 --- a/src/Jackett.Common/Definitions/turktorrent.yml +++ b/src/Jackett.Common/Definitions/turktorrent.yml @@ -200,3 +200,4 @@ case: "img[title=\"Upload Multiplier: 2\"]": 2 "*": 1 +# TSUE 2.2 diff --git a/src/Jackett.Common/Definitions/vizuk.yml b/src/Jackett.Common/Definitions/vizuk.yml index 008d0f95e..9fb17fc9e 100644 --- a/src/Jackett.Common/Definitions/vizuk.yml +++ b/src/Jackett.Common/Definitions/vizuk.yml @@ -242,4 +242,4 @@ text: 1.0 minimumseedtime: text: 345600 # 4 day (96h) -# BT Tracker 2.2 +# TSUE 2.2