2020-04-17 07:15:00 +00:00
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
id: torrentz2k
|
2020-05-10 20:05:19 +00:00
|
|
|
name: Torrentz2k
|
|
|
|
description: "Torrentz2k is a Public torrent indexer"
|
|
|
|
language: en-us
|
|
|
|
type: public
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- https://torrentz2k.xyz/
|
2020-09-17 05:44:57 +00:00
|
|
|
legacylinks:
|
|
|
|
- https://torrentz2k.pw/
|
2020-04-17 07:15:00 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
caps:
|
|
|
|
categories:
|
2020-09-17 05:37:40 +00:00
|
|
|
book: Books
|
|
|
|
film: Movies
|
|
|
|
gamepad: Console
|
|
|
|
list: Other
|
|
|
|
male: XXX
|
2020-05-10 20:05:19 +00:00
|
|
|
music: Audio
|
2020-09-17 05:37:40 +00:00
|
|
|
sellsy: Audio/Lossless
|
|
|
|
play-circle: TV
|
|
|
|
smile-o: TV/Anime
|
|
|
|
television: TV
|
|
|
|
wrench: PC
|
2020-04-17 07:15:00 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q, season, ep]
|
|
|
|
movie-search: [q]
|
|
|
|
music-search: [q]
|
2020-04-17 07:15:00 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
settings: []
|
2020-04-17 07:15:00 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
search:
|
2020-09-17 05:37:40 +00:00
|
|
|
# https://torrentz2k.xyz/search/
|
2020-05-10 20:05:19 +00:00
|
|
|
paths:
|
|
|
|
- path: search/
|
|
|
|
method: post
|
|
|
|
- path: search/
|
|
|
|
method: post
|
|
|
|
inputs:
|
|
|
|
page: 2
|
|
|
|
inputs:
|
|
|
|
q: "{{ if .Keywords }}{{ .Keywords }}{{else}}:latest:{{end}}"
|
|
|
|
category: all
|
|
|
|
x: 0
|
|
|
|
y: 0
|
|
|
|
keywordsfilters:
|
|
|
|
# the site uses % for wildcard
|
|
|
|
- name: re_replace
|
|
|
|
args: ["[^a-zA-Z0-9]+", "%"]
|
2020-04-17 07:15:00 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
rows:
|
|
|
|
selector: table.table-striped > tbody > tr
|
|
|
|
filters:
|
|
|
|
- name: andmatch
|
2020-04-17 07:15:00 +00:00
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
fields:
|
2020-05-21 22:19:55 +00:00
|
|
|
category:
|
2020-09-17 05:37:40 +00:00
|
|
|
selector: i
|
|
|
|
attribute: class
|
2020-05-10 20:05:19 +00:00
|
|
|
filters:
|
2020-09-17 05:37:40 +00:00
|
|
|
- name: append
|
|
|
|
args: " list"
|
|
|
|
# extract the second class
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: split
|
2020-09-17 05:37:40 +00:00
|
|
|
args: [" ", 1]
|
|
|
|
# remove fa- prefix
|
|
|
|
- name: replace
|
|
|
|
args: ["fa-", ""]
|
2020-05-10 20:05:19 +00:00
|
|
|
title:
|
2020-09-17 05:44:57 +00:00
|
|
|
selector: span.btntitle
|
2020-05-10 20:05:19 +00:00
|
|
|
attribute: title
|
|
|
|
details:
|
2020-09-17 05:37:40 +00:00
|
|
|
# details page is only accessible via form and post which Cardigann does not support.
|
|
|
|
text: /
|
|
|
|
download:
|
|
|
|
selector: a[href^="magnet:?xt="]
|
2020-05-10 20:05:19 +00:00
|
|
|
attribute: href
|
|
|
|
date:
|
|
|
|
selector: td:nth-child(5)
|
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: ["sec", "seconds"]
|
|
|
|
- name: replace
|
|
|
|
args: ["min", "minutes"]
|
|
|
|
- name: replace
|
|
|
|
args: ["hr", "hours"]
|
|
|
|
- name: append
|
2020-05-10 20:57:50 +00:00
|
|
|
args: " ago"
|
2020-05-10 20:05:19 +00:00
|
|
|
- name: timeago
|
|
|
|
_size:
|
|
|
|
selector: td:nth-child(6)
|
|
|
|
size:
|
|
|
|
text: "{{ if .Result._size }}{{ .Result._size }}{{else}}0 B{{end}}"
|
|
|
|
seeders:
|
|
|
|
selector: td:nth-child(3)
|
|
|
|
leechers:
|
|
|
|
selector: td:nth-child(4)
|
|
|
|
downloadvolumefactor:
|
|
|
|
text: 0
|
|
|
|
uploadvolumefactor:
|
|
|
|
text: 1
|
2020-04-17 07:15:00 +00:00
|
|
|
# engine n/a
|