mirror of https://github.com/Jackett/Jackett
torrentz2k: change domain *.pw resolves #10309
- slight changes to categories and search - add details link - use infohash for download
This commit is contained in:
parent
20cb8d1d5e
commit
86cdecf418
|
@ -6,15 +6,15 @@ language: en-us
|
||||||
type: public
|
type: public
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- https://torrentz2k.xyz/
|
|
||||||
legacylinks:
|
|
||||||
- https://torrentz2k.pw/
|
- https://torrentz2k.pw/
|
||||||
|
legacylinks:
|
||||||
|
- https://torrentz2k.xyz/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
- {id: book, cat: Books, desc: Books}
|
- {id: book, cat: Books, desc: Books}
|
||||||
- {id: film, cat: Movies, desc: Movies}
|
- {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: list, cat: Other, desc: Other}
|
||||||
- {id: male, cat: XXX, desc: XXX}
|
- {id: male, cat: XXX, desc: XXX}
|
||||||
- {id: music, cat: Audio, desc: "Music MP3"}
|
- {id: music, cat: Audio, desc: "Music MP3"}
|
||||||
|
@ -22,7 +22,7 @@ caps:
|
||||||
- {id: play-circle, cat: TV, desc: WEBTV}
|
- {id: play-circle, cat: TV, desc: WEBTV}
|
||||||
- {id: smile-o, cat: TV/Anime, desc: Anime}
|
- {id: smile-o, cat: TV/Anime, desc: Anime}
|
||||||
- {id: television, cat: TV, desc: TV}
|
- {id: television, cat: TV, desc: TV}
|
||||||
- {id: wrench, cat: PC, desc: Software}
|
- {id: wrench, cat: PC, desc: Apps}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@ -38,7 +38,7 @@ settings:
|
||||||
default: This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolver</a> to access it.
|
default: This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolver</a> to access it.
|
||||||
|
|
||||||
search:
|
search:
|
||||||
# https://torrentz2k.xyz/search/
|
# https://torrentz2k.xpw/search/
|
||||||
paths:
|
paths:
|
||||||
- path: search/
|
- path: search/
|
||||||
method: post
|
method: post
|
||||||
|
@ -49,8 +49,6 @@ search:
|
||||||
inputs:
|
inputs:
|
||||||
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}:latest:{{ end }}"
|
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}:latest:{{ end }}"
|
||||||
category: all
|
category: all
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
# the site uses % for wildcard
|
# the site uses % for wildcard
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
|
@ -78,11 +76,14 @@ search:
|
||||||
selector: span.btntitle
|
selector: span.btntitle
|
||||||
attribute: title
|
attribute: title
|
||||||
details:
|
details:
|
||||||
# details page is only accessible via form and post which Cardigann does not support.
|
selector: a
|
||||||
text: "{{ .Config.sitelink }}"
|
|
||||||
download:
|
|
||||||
selector: a[href^="magnet:?xt="]
|
|
||||||
attribute: href
|
attribute: href
|
||||||
|
infohash:
|
||||||
|
selector: a
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: trim
|
||||||
|
args: "/"
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
filters:
|
filters:
|
||||||
|
|
Loading…
Reference in New Issue