mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
torrentz2k: revert domain *.xyz, update search. resolves #10917
This commit is contained in:
parent
eddc84e22f
commit
ed0545cbf3
1 changed files with 10 additions and 13 deletions
|
@ -6,9 +6,9 @@ language: en-us
|
||||||
type: public
|
type: public
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- https://torrentz2k.pw/
|
|
||||||
legacylinks:
|
|
||||||
- https://torrentz2k.xyz/
|
- https://torrentz2k.xyz/
|
||||||
|
legacylinks:
|
||||||
|
- https://torrentz2k.pw/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
|
@ -38,16 +38,16 @@ 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.pw/search/
|
# https://torrentz2k.xyz/search/ or https://torrentz2k.xyz/recent/
|
||||||
paths:
|
paths:
|
||||||
- path: search/
|
- path: "{{ if .Keywords }}search/{{ else }}recent/{{ end }}"
|
||||||
method: post
|
method: post
|
||||||
- path: search/
|
- path: "{{ if .Keywords }}search/{{ else }}recent/{{ end }}"
|
||||||
method: post
|
method: post
|
||||||
inputs:
|
inputs:
|
||||||
page: 2
|
page: 2
|
||||||
inputs:
|
inputs:
|
||||||
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}:latest:{{ end }}"
|
$raw: "{{ if .Keywords }}q={{ .Keywords }}{{ else }}recent=recent{{ end }}"
|
||||||
category: all
|
category: all
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
# the site uses % for wildcard
|
# the site uses % for wildcard
|
||||||
|
@ -76,14 +76,11 @@ search:
|
||||||
selector: span.btntitle
|
selector: span.btntitle
|
||||||
attribute: title
|
attribute: title
|
||||||
details:
|
details:
|
||||||
selector: a
|
# details page is only accessible via form and post which Cardigann does not support.
|
||||||
|
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 a new issue