mirror of https://github.com/Jackett/Jackett
torrentz2k: new domain and html resolves #11365
This commit is contained in:
parent
b70743628e
commit
3a9fec2b5f
|
@ -6,8 +6,9 @@ language: en-us
|
|||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://torrentz2k.xyz/
|
||||
- https://torrentz2is.me/
|
||||
legacylinks:
|
||||
- https://torrentz2k.xyz/
|
||||
- https://torrentz2k.pw/
|
||||
|
||||
caps:
|
||||
|
@ -16,7 +17,7 @@ caps:
|
|||
- {id: film, cat: Movies, desc: Movies}
|
||||
- {id: gamepad, cat: PC/Games, desc: Games}
|
||||
- {id: list, cat: Other, desc: Other}
|
||||
- {id: male, cat: XXX, desc: XXX}
|
||||
- {id: close, cat: XXX, desc: XXX}
|
||||
- {id: music, cat: Audio, desc: "Music MP3"}
|
||||
- {id: sellsy, cat: Audio/Lossless, desc: "Music Lossless"}
|
||||
- {id: play-circle, cat: TV, desc: WEBTV}
|
||||
|
@ -38,16 +39,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.
|
||||
|
||||
search:
|
||||
# https://torrentz2k.xyz/search/ or https://torrentz2k.xyz/recent/
|
||||
# https://torrentz2is.me/search/
|
||||
paths:
|
||||
- path: "{{ if .Keywords }}search/{{ else }}recent/{{ end }}"
|
||||
- path: search/
|
||||
method: post
|
||||
- path: "{{ if .Keywords }}search/{{ else }}recent/{{ end }}"
|
||||
- path: "search/{{ if .Keywords }}{{ .Keywords }}{{ else }}:latest:{{ end }}/category/all/page/2"
|
||||
method: post
|
||||
inputs:
|
||||
page: 2
|
||||
inputs:
|
||||
$raw: "{{ if .Keywords }}q={{ .Keywords }}{{ else }}recent=recent{{ end }}"
|
||||
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}:latest:{{ end }}"
|
||||
category: all
|
||||
keywordsfilters:
|
||||
# the site uses % for wildcard
|
||||
|
@ -55,7 +56,7 @@ search:
|
|||
args: ["[^a-zA-Z0-9]+", "%"]
|
||||
|
||||
rows:
|
||||
selector: table.table-striped > tbody > tr
|
||||
selector: table > tbody > tr:has(i)
|
||||
filters:
|
||||
- name: andmatch
|
||||
|
||||
|
@ -73,28 +74,30 @@ search:
|
|||
- name: replace
|
||||
args: ["fa-", ""]
|
||||
title:
|
||||
selector: span.btntitle
|
||||
selector: div.btntitle a
|
||||
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="]
|
||||
attribute: href
|
||||
infohash:
|
||||
selector: input[name="id"]
|
||||
attribute: value
|
||||
date:
|
||||
selector: td:nth-child(5)
|
||||
selector: td:nth-child(6)
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["sec", "seconds"]
|
||||
- name: replace
|
||||
args: ["min", "minutes"]
|
||||
- name: replace
|
||||
args: ["hr", "hours"]
|
||||
- name: re_replace
|
||||
args: ["(?i)sec", "seconds"]
|
||||
- name: re_replace
|
||||
args: ["(?i)min", "minutes"]
|
||||
- name: re_replace
|
||||
args: ["(?i)hr", "hours"]
|
||||
- name: re_replace
|
||||
args: ["(?i)yr", "years"]
|
||||
- name: append
|
||||
args: " ago"
|
||||
- name: timeago
|
||||
_size:
|
||||
selector: td:nth-child(6)
|
||||
selector: td:nth-child(5)
|
||||
size:
|
||||
text: "{{ if .Result._size }}{{ .Result._size }}{{ else }}0 B{{ end }}"
|
||||
seeders:
|
||||
|
|
Loading…
Reference in New Issue