From 7d65e6075074c288f67eff6d3b036b3b07c79269 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Thu, 6 Jul 2017 20:21:06 +0200 Subject: [PATCH] Add Zelka.org tracker Thank you @eybox --- src/Jackett/Definitions/zelkaorg.yml | 93 ++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 src/Jackett/Definitions/zelkaorg.yml diff --git a/src/Jackett/Definitions/zelkaorg.yml b/src/Jackett/Definitions/zelkaorg.yml new file mode 100644 index 000000000..df68b510f --- /dev/null +++ b/src/Jackett/Definitions/zelkaorg.yml @@ -0,0 +1,93 @@ +--- + site: zelkaorg + name: Zelka.org + language: bg-bg + type: private + encoding: windows-1251 + links: + - http://zelka.org/ + - http://zamunda.se/ + + caps: + categories: + 7: TV/SD + 33: TV/HD + 25: TV/Other + 5: Movies/HD + 53: Movies/HD + 35: Movies/WEBDL + 19: Movies/SD + 46: Movies/3D + 42: Movies/BluRay + 20: Movies/DVD + 9: XXX + 49: XXX/Other + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + login: + path: /takelogin.php + method: post + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + error: + - selector: td.embedded:has(h2:contains("failed")) + test: + path: /browse.php + + search: + path: /browse.php + inputs: + $raw: "{{range .Categories}}cat{{.}}=1&{{end}}" + search: "{{ .Query.Keywords }}" + incldead: 1 + rows: + selector: .test > tbody > tr:has(a[href^="browse.php"]) + fields: + title: + selector: td:nth-child(2) > a:nth-child(1) + details: + selector: td:nth-child(2) > a:nth-child(1) + attribute: href + category: + selector: td:nth-child(1) > a + attribute: href + filters: + - name: querystring + args: cat + download: + selector: a:has(img[src^="http://img.zamunda.se/pic/download.gif"]) + attribute: href + magnet: + selector: a:has(img[src^="http://img.zamunda.se/pic/magnet-icon-12w-12h.gif"]) + attribute: href + grabs: + selector: td:nth-child(7) + filters: + - name: regexp + args: (\d+) + size: + selector: td:nth-child(6) + date: + selector: td:nth-child(5) + filters: + - name: regexp + args: ([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])) + seeders: + selector: td:nth-child(8) + leechers: + selector: td:nth-child(9) + banner: + selector: td:nth-child(2) > a:nth-child(1) + attribute: onmouseover + filters: + - name: regexp + args: src=([^\s]+) + downloadvolumefactor: + text: "0" + uploadvolumefactor: + text: "1" \ No newline at end of file