From adbe9f3f9c4660d0488af1cfca816975accdb7cd Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 19 Dec 2019 17:09:29 +1300 Subject: [PATCH] hdtorrents.it: gone. removed. #1180 --- README.md | 1 - .../Definitions/hdtorrentsit.yml | 153 ------------------ src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 154 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/hdtorrentsit.yml diff --git a/README.md b/README.md index 8d0899465..9ad4c9bc6 100644 --- a/README.md +++ b/README.md @@ -274,7 +274,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * HDME * HDRoute * HDSky - * HDTorrents.it * HDTurk * HDU * HDZone diff --git a/src/Jackett.Common/Definitions/hdtorrentsit.yml b/src/Jackett.Common/Definitions/hdtorrentsit.yml deleted file mode 100644 index c982f5c43..000000000 --- a/src/Jackett.Common/Definitions/hdtorrentsit.yml +++ /dev/null @@ -1,153 +0,0 @@ ---- - site: hdtorrentsit - name: HDTorrents.it - description: "HDTorrents.it is an ITALIAN Private site for TV / MOVIES" - language: it-it - type: private - encoding: UTF-8 - links: - - http://hdtorrents.xyz/ - legacylinks: - - http://hdtorrents.it/ - - caps: - categorymappings: - - {id: 2040, cat: Movies/HD} - - {id: 5040, cat: TV/HD} - 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: div.error - test: - path: browse.php - - search: - paths: - - path: browse.php - method: post - keywordsfilters: - - name: re_replace - args: ["[^a-zA-Z0-9]+", "%"] - - name: diacritics - args: replace - - name: re_replace #remove SXXEYY from research - args: ["(S\\d{1,2}E\\d{1,2})", ""] - - name: re_replace #remove SXX from research - args: ["(S\\d{1,2})", ""] - inputs: - ajax: false - search: "{{ .Keywords }}" - incldead: 0 - rows: - selector: tbody#highlighted tr - fields: - title: - selector: td:nth-child(2) a:nth-child(1) - filters: - - name: re_replace #separate title - args: ["(\\s+\\/\\s+|\\/\\s+|\\s+\\/|\\/)(.*)\\s\\(", " ("] - - name: re_replace #remove (yyyy) from the title - args: ["(\\(\\d{4}\\)?\\s?)", ""] - - name: re_replace #remove | - args: ["(\\s\\||\\s\\/)", ""] - - name: re_replace # Stagione X --> S0X - args: ["(?i)\\bStagion[ei]\\s?(\\d{1})\\b|\\bSeason'?s?\\s?(\\d{1})\\b", "S0$1$2"] - - name: re_replace # Stagione XX --> SXX - args: ["(?i)\\bStagion[ei]\\s?(\\d{2,})\\b|\\bSeason'?s?\\s?(\\d{2,})\\b", "S$1$2"] - - name: re_replace #/ Episodio [YY-YY --> EYY-YY - args: ["(?i)(\\s\\/?\\s?Episodi[o]?)\\s\\[", "E"] - - name: re_replace # Episodio 4 to E4 - args: ["(?i)\\b(?:[\\s\\/\\|]?Episodi[o]?\\s?(\\d+)|Puntata\\s?(\\d+))", "E$1$2"] - - name: re_replace #/ Completa [episodi YY-YY --> EYY-YY - args: ["(?i)(\\s\\/\\sCompleta\\s\\[episodi\\s)", "E"] - - name: re_replace #remove di YY] | remove /YY] - args: ["(?i)(\\sdi\\s\\d{1,2}|\\/\\d{1,2})\\]", " "] - - name: re_replace #remove various - args: ["(?i)(Serie completa|Completa|\\[in pausa\\])", ""] - title|append: #start year - text: " (" - title|append: #add year - selector: td:nth-child(2) a:nth-child(1) - filters: - - name: regexp #find torrent year - args: (\d{4}) - title|append: #end year - text: ") " - title|append: #start quality TAG - text: "[" - title|append: #quality TAG (BDRip 1080, BDRip 720p etc) - selector: td:nth-child(1) a:nth-child(1) img - attribute: alt - title|append: #separator - text: " - " - title|append: #ita audio TAG - selector: a[href^="download.php?id="] - attribute: href - filters: - - name: querystring - args: name - - name: regexp - args: (DTS AC3 ITA|DTS ITA|AC3 ITA) - - name: re_replace - args: ["ITA", ""] - title|append: #end TAG - text: "ITA]" - filters: - - name: re_replace # replace multiple spaces - args: ["[ ]{2,}", " "] - details: - selector: td:nth-child(2) a:nth-child(1) - attribute: href - banner: - selector: td:nth-child(2)[onmousemove] - attribute: onmousemove - filters: - - name: regexp - args: ".*\\(.*,.*,.*,'(.*?)'\\)" - download: - selector: a[href^="download.php?id="] - attribute: href - size: - selector: td:nth-child(3) - seeders: - text: 1 - seeders: - selector: td:nth-child(4) - optional: true - filters: - - name: re_replace - args: ["(\\d*) \\(\\+\\d*\\)\n? \\| (\\d*) \\(\\+\\d*\\)", "$1"] - leechers: - text: 1 - leechers: - selector: td:nth-child(4) - optional: true - filters: - - name: re_replace - args: ["(\\d*) \\(\\+\\d*\\)\n? \\| (\\d*) \\(\\+\\d*\\)", "$2"] - date: - selector: td:nth-child(2) i - filters: - - name: append - args: " +02:00" - - name: dateparse - args: "2006-01-02 15:04:05 -07:00" - category: - case: - "a[href^=\"details.php\"]:contains(\"Stagione\")": 5040 # TV/HD - "*": 2040 # default to Movies/HD - downloadvolumefactor: - case: - img[src="pic/freedownload.gif"]: "0" - "*": "1" - uploadvolumefactor: - text: "1" diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 064aad8b0..4dc4924fb 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -376,6 +376,7 @@ namespace Jackett.Updater "Definitions/dark-shadow.yml", "Definitions/bitme.yml", "Definitions/asiandvdclub.yml", + "Definitions/hdtorrentsit.yml", }; foreach (var oldFile in oldFiles)