diff --git a/src/Jackett.Common/Definitions/torrentz2k.yml b/src/Jackett.Common/Definitions/torrentz2k.yml index 2dabe3a71..ccfab813e 100644 --- a/src/Jackett.Common/Definitions/torrentz2k.yml +++ b/src/Jackett.Common/Definitions/torrentz2k.yml @@ -6,15 +6,15 @@ language: en-us type: public encoding: UTF-8 links: - - https://torrentz2k.xyz/ -legacylinks: - https://torrentz2k.pw/ +legacylinks: + - https://torrentz2k.xyz/ caps: categorymappings: - {id: book, cat: Books, desc: Books} - {id: film, cat: Movies, desc: Movies} - - {id: gamepad, cat: Console, desc: Games} + - {id: gamepad, cat: PC/Games, desc: Games} - {id: list, cat: Other, desc: Other} - {id: male, cat: XXX, desc: XXX} - {id: music, cat: Audio, desc: "Music MP3"} @@ -22,7 +22,7 @@ caps: - {id: play-circle, cat: TV, desc: WEBTV} - {id: smile-o, cat: TV/Anime, desc: Anime} - {id: television, cat: TV, desc: TV} - - {id: wrench, cat: PC, desc: Software} + - {id: wrench, cat: PC, desc: Apps} modes: search: [q] @@ -38,7 +38,7 @@ settings: default: This site may use Cloudflare DDoS Protection, therefore Jackett requires FlareSolver to access it. search: - # https://torrentz2k.xyz/search/ + # https://torrentz2k.xpw/search/ paths: - path: search/ method: post @@ -49,8 +49,6 @@ search: inputs: q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}:latest:{{ end }}" category: all - x: 0 - y: 0 keywordsfilters: # the site uses % for wildcard - name: re_replace @@ -78,11 +76,14 @@ search: selector: span.btntitle attribute: title details: - # details page is only accessible via form and post which Cardigann does not support. - text: "{{ .Config.sitelink }}" - download: - selector: a[href^="magnet:?xt="] + selector: a attribute: href + infohash: + selector: a + attribute: href + filters: + - name: trim + args: "/" date: selector: td:nth-child(5) filters: