From 08ef126c0185f2cf9d2d0bfaa59b66bb624584c8 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Wed, 18 Jan 2017 19:59:35 +0100 Subject: [PATCH] Add LinkoManija tracker --- README.md | 1 + src/Jackett/Definitions/linkomanija.yml | 110 ++++++++++++++++++++++++ src/Jackett/Jackett.csproj | 3 + 3 files changed, 114 insertions(+) create mode 100644 src/Jackett/Definitions/linkomanija.yml diff --git a/README.md b/README.md index 0d4545445..cd9f30400 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Immortalseed * Infinity-T * IPTorrents + * LinkoManija * M-Team - TP * Mononoké-BT * MoreThanTV diff --git a/src/Jackett/Definitions/linkomanija.yml b/src/Jackett/Definitions/linkomanija.yml new file mode 100644 index 000000000..0be2ab437 --- /dev/null +++ b/src/Jackett/Definitions/linkomanija.yml @@ -0,0 +1,110 @@ +--- + site: linkomanija + name: LinkoManija + language: lt-lt + encoding: UTF-8 + links: + - https://www.linkomanija.net + + caps: + categories: + 29: Movies/SD # movies + 52: Movies/HD # movies HD + 30: TV/SD # TV + 60: TV/HD # HD TV + 45: PC/Games # PC Games + 37: Audio # Music + 56: Books # Books + 40: Other/Misc # misc + 53: Movies/SD # movies E + 61: Movies/HD # E HD Movies + 28: TV/SD # TV E + 62: TV/HD # E HD TV + 63: PC/Games # PC Games Misc + 33: Audio # Music E + 57: Books # Books E + 43: Other/Misc # misc E + 51: Movies/SD # movies RU + 64: Movies/HD # RU Movies HD + 65: TV # TV RU + 25: Movies/DVD # DVD + 42: Console/Xbox # XBOX + 66: Audio/Lossless # Music Lossless + 41: PC/Mac # MAC + 69: PC/Phone-Android # Android + 46: TV/Sport # Sports + 58: TV/Documentaries # Documentaries + 38: TV/Anime # Anime + 26: Movies/DVD # DVD E + 44: Console/Other # Consoles + 31: Audio/Video # Music Videos + 32: PC/0day # Appz + + modes: + search: [q] + tv-search: [q, season, ep] + + login: + path: takelogin.php + method: post + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + error: + - selector: div.klaida + test: + path: browse.php + + search: + path: browse.php + inputs: + $raw: "{{range .Categories}}c{{.}}=1&{{end}}" + search: "{{ .Query.Keywords }}" + incldead: "1" + rows: + selector: table> tbody > tr:has(a[href^="details?"]) + filters: + - name: andmatch + fields: + download: + selector: a[href^="download.php?id="] + attribute: href + title: + selector: a[href^="details?"] + description|optional: + selector: td:nth-child(2) > span + details: + selector: a[href^="details?"] + attribute: href + category: + selector: a[href^="browse.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + seeders: + selector: td:nth-child(8) + leechers: + selector: td:nth-child(9) + grabs: + selector: td:nth-child(7) + files: + selector: td:nth-child(3) + size: + selector: td:nth-child(6) + downloadvolumefactor: + case: + img[src="//static.linkomanija.net/images/flag_green.gif"]: "0" + "*": "1" + uploadvolumefactor: + case: + "*": "1" + date: + selector: td:nth-child(5) + filters: + - name: append + args: " +01:00" + - name: dateparse + args: "2006-01-0215:04:05 -07:00" + + \ No newline at end of file diff --git a/src/Jackett/Jackett.csproj b/src/Jackett/Jackett.csproj index 966e0c691..183d52a1e 100644 --- a/src/Jackett/Jackett.csproj +++ b/src/Jackett/Jackett.csproj @@ -540,6 +540,9 @@ PreserveNewest + + PreserveNewest + Designer