diff --git a/README.md b/README.md index a6bd97c85..8606a20b7 100644 --- a/README.md +++ b/README.md @@ -384,7 +384,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * HDAtmos * HDBits [![(invite needed)][inviteneeded]](#) * HDC (HDCiTY) [![(invite needed)][inviteneeded]](#) - * HDCenter [![(invite needed)][inviteneeded]](#) * HDChina (HDWing) [![(invite needed)][inviteneeded]](#) * HDCity [![(invite needed)][inviteneeded]](#) * HDFans diff --git a/src/Jackett.Common/Definitions/hdcenter.yml b/src/Jackett.Common/Definitions/hdcenter.yml deleted file mode 100644 index 85285c5cc..000000000 --- a/src/Jackett.Common/Definitions/hdcenter.yml +++ /dev/null @@ -1,108 +0,0 @@ ---- -id: hdcenter -name: HDCenter -description: "An German HD tracker" -language: de-DE -type: private -encoding: UTF-8 -links: - - https://hdcenter.cc/ - -caps: - categorymappings: - - {id: 1, cat: Movies/HD, desc: "Movies"} - - {id: 2, cat: Movies/3D, desc: "3D"} - - {id: 3, cat: TV/HD, desc: "Series"} - - {id: 4, cat: TV/Documentary, desc: "Documentary"} - - {id: 5, cat: TV/Sport, desc: "Sport"} - - {id: 6, cat: XXX, desc: "XXX"} - - {id: 7, cat: Audio/Lossless, desc: "Audio"} - - {id: 8, cat: PC/0day, desc: "Appz"} - - {id: 9, cat: Movies/HD, desc: "HDC"} - - {id: 10, cat: Movies/HD, desc: "TvR"} - - {id: 11, cat: Movies/HD, desc: "10Bit"} - - {id: 12, cat: Movies/HD, desc: "jTV"} - - {id: 13, cat: TV/HD, desc: "NERDS"} - - {id: 14, cat: Audio/Lossless, desc: "dOWnb3At"} - - {id: 15, cat: Movies/Other, desc: "Anime"} - - {id: 16, cat: Audio/Video, desc: "Live"} - - modes: - search: [q] - tv-search: [q, season, ep, imdbid] - movie-search: [q, imdbid] - music-search: [q] - -login: - path: login.php - method: post - inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - timeout: 1 - error: - - selector: div#error-text - test: - path: torrents.php - -search: - paths: - - path: torrents.php - inputs: - $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" - searchstr: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" - rows: - selector: table#torrent_table > tbody > tr.torrent - fields: - download: - selector: a[title="download"] - attribute: href - optional: true - details: - selector: a.torrent_link_title - attribute: href - title_default: - selector: a.torrent_link_title - title_hdc: # special selector which only matches HDC releases not containing "English" and "only" tags and doesn't contain English in the title - selector: td.cats_col:has(a[href*="filter_cat[9]=1"]) + td.title_col:not(:has(span.tags_inner:contains("English"):contains("only"))):not(:has(span.tags_inner:contains("English"):contains("Only"))):not(:has(span.tags_inner:contains("english"):contains("only"))) a.torrent_link_title:not(:contains("English")) - optional: true - filters: - - name: replace # add GERMAN tag - args: ["-HDC", ".GERMAN-HDC"] - title_tvr: # special selector which only matches TvR releases not containing "GERMAN" already - selector: td.cats_col:has(a[href*="filter_cat[10]=1"]) + td.title_col a.torrent_link_title:not(:contains("GERMAN")) - optional: true - filters: - - name: replace # add GERMAN tag - args: [".DL", ".GERMAN.DL"] - title: - text: "{{ if or .Result.title_tvr .Result.title_hdc }}{{ or .Result.title_tvr .Result.title_hdc }}{{ else }}{{ .Result.title_default }}{{ end }}" - category: - selector: td.cats_col > a - attribute: href - filters: - - name: regexp - args: "\\[(\\d+?)\\]" - date: - selector: td.time_col > .time - filters: - - name: append - args: " +01:00" # CET - - name: dateparse - args: "Jan 02 2006, 15:04 -07:00" - size: - selector: td.size_col - grabs: - selector: td.snatcher_col - seeders: - selector: td.seeder_col - leechers: - selector: td.leecher_col - downloadvolumefactor: - case: - "span.freeleech_slot": 0 # 24h freeelech slot - "span.freeleech": 0 - "*": 1 - uploadvolumefactor: - text: 1 -# engine tbd diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 8c08fcc0d..799e4110d 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -369,6 +369,7 @@ namespace Jackett.Updater "Definitions/hachede.yml", "Definitions/hd4free.yml", "Definitions/hdbc.yml", // renamed to hdbitscom + "Definitions/hdcenter.yml", "Definitions/hdclub.yml", "Definitions/hddisk.yml", "Definitions/hdhouse.yml",