mirror of
https://github.com/Jackett/Jackett
synced 2025-01-04 06:22:45 +00:00
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
1 changed files with 12 additions and 11 deletions
|
@ -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 <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolver</a> 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:
|
||||
|
|
Loading…
Reference in a new issue