diff --git a/README.md b/README.md index e81166395..2d35eca09 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Shellife * SpeedCD * Superbits + * Tasmanit * The Empire * The Horror Charnel * The New Retro diff --git a/src/Jackett/Definitions/tasmanit.yml b/src/Jackett/Definitions/tasmanit.yml new file mode 100755 index 000000000..3f615056d --- /dev/null +++ b/src/Jackett/Definitions/tasmanit.yml @@ -0,0 +1,109 @@ +--- + site: tasmanit + name: Tasmanit + language: en-us + type: private + encoding: UTF-8 + links: + - https://tasmanit.es + + caps: + categorymappings: + - {id: 72, cat: TV, desc: "All Australian TV"} + - {id: 23, cat: TV, desc: "AU-AUTOGEN"} + - {id: 8, cat: TV, desc: "Australian Comedy"} + - {id: 18, cat: TV, desc: "Australian Crime Shows"} + - {id: 14, cat: TV, desc: "Australian Documentaries"} + - {id: 9, cat: TV, desc: "Australian Dramas"} + - {id: 10, cat: TV, desc: "Australian Game/Quiz Shows"} + - {id: 12, cat: TV, desc: "Australian Kids Shows"} + - {id: 21, cat: TV, desc: "Australian Lifestyle TV"} + - {id: 11, cat: TV, desc: "Aussie News and Current Affairs"} + - {id: 76, cat: TV/Other, desc: "Australian TV Other"} + - {id: 15, cat: TV, desc: "Australian Real Crime"} + - {id: 13, cat: TV, desc: "Australian Reality TV"} + - {id: 17, cat: TV, desc: "Australian Science Shows"} + - {id: 80, cat: TV, desc: "Australian Soaps"} + - {id: 16, cat: TV, desc: "Australian Talkshows"} + - {id: 22, cat: TV, desc: "Australian Movies"} + - {id: 73, cat: TV, desc: "New Zealand TV"} + - {id: 61, cat: TV, desc: "NZ-AUTOGEN"} + - {id: 47, cat: TV, desc: "New Zealand Comedy"} + - {id: 58, cat: TV, desc: "New Zealand Crime Shows"} + - {id: 53, cat: TV, desc: "New Zealand Documentaries"} + - {id: 48, cat: TV, desc: "New Zealand Dramas"} + - {id: 49, cat: TV, desc: "New Zealand Game/Quiz Shows"} + - {id: 51, cat: TV, desc: "New Zealand Kids Shows"} + - {id: 56, cat: TV, desc: "New Zealand Lifestyle TV"} + - {id: 50, cat: TV, desc: "New Zealand News and Current Affairs"} + - {id: 60, cat: TV, desc: "New Zealand Real Crime"} + - {id: 52, cat: TV, desc: "New Zealand Reality TV"} + - {id: 54, cat: TV, desc: "New Zealand Science Shows"} + - {id: 81, cat: TV, desc: "New Zealand Soaps"} + - {id: 57, cat: TV, desc: "New Zealand Talkshows"} + - {id: 59, cat: TV, desc: "New Zealand Movies"} + - {id: 36, cat: TV, desc: "New Zealand TV"} + - {id: 55, cat: TV, desc: "SATV - All"} + - {id: 55, cat: TV, desc: "South African TV"} + - {id: 7, cat: TV/Other, desc: "New Zealand TV Other"} + + modes: + search: [q] + tv-search: [q, season, ep] + + login: + path: login.php + method: form + form: form[action="takelogin.php"] + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + error: + - selector: div#content:has(h2:contains("Login Failed")) + test: + path: browse.php + + search: + path: browse.php + method: post + inputs: + do: "search" + keywords: "{{ .Keywords }}" + search_type: "t_name" + include_dead_torrents: "yes" + rows: + selector: table#sortabletable > tbody > tr:has(a[href]) + fields: + title: + selector: td:nth-child(2) a + category: + selector: a[href^="https://tasmanit.es/browse.php?category="] + attribute: href + filters: + - name: querystring + args: category + details: + selector: a[href^="https://tasmanit.es/details.php?id="] + attribute: href + download: + selector: a[href^="https://tasmanit.es/details.php?id="] + attribute: href + filters: + - name: replace + args: ["details.php", "download.php"] + size: + selector: td:nth-child(5) + grabs: + selector: td:nth-child(6) + seeders: + selector: td:nth-child(7) + leechers: + selector: td:nth-child(8) + date: + selector: td:nth-child(2) + downloadvolumefactor: + case: + "*": "1" + uploadvolumefactor: + case: + "*": "1" \ No newline at end of file diff --git a/src/Jackett/Jackett.csproj b/src/Jackett/Jackett.csproj index ea841fee5..1450ce23d 100644 --- a/src/Jackett/Jackett.csproj +++ b/src/Jackett/Jackett.csproj @@ -579,6 +579,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest