Jackett/src/Jackett.Common/Definitions/torrentz2eu.yml

86 lines
2.2 KiB
YAML
Raw Normal View History

---
id: torrentz2eu
name: Torrentz2eu
description: "Torrentz2eu is a Public torrent meta-search engine"
language: en-US
type: public
encoding: UTF-8
2021-11-19 04:47:24 +00:00
followredirect: true
links:
2023-01-22 20:00:11 +00:00
- https://2torrentz2eu.in/
2021-12-27 01:16:16 +00:00
- https://torrentz2.unblockninja.com/
legacylinks:
- https://torrentz2eu.me/
2022-02-11 04:53:04 +00:00
- https://torrentz2.org.in/
2022-02-26 02:58:17 +00:00
- https://torrentzeu.org/
2022-03-02 19:29:33 +00:00
- https://torrentz2.club/
2022-11-13 01:22:41 +00:00
- https://torrentz2eu.in/
2023-01-22 20:00:11 +00:00
- https://torrentz2.pics/
caps:
# unfortunately torrentz2eu does not display categories anywhere in its search results page :-(
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: TV, desc: "TV"}
- {id: 3, cat: Other, desc: "Other"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
2021-11-14 06:37:45 +00:00
- name: info_8000
type: info
2021-11-14 06:37:45 +00:00
label: About Torrentz2eu Categories
default: Torrentz2eu does not return categories in its search results.</br>To add to your Apps' Torznab indexer, replace all categories with 8000(Other).
download:
selectors:
- selector: a[href^="magnet:?"]
attribute: href
search:
paths:
2023-01-22 20:00:11 +00:00
# https://2torrentz2eu.in/beta2/search.php?torrent-query=2023
- path: beta2/search.php
inputs:
torrent-query: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
rows:
selector: table#torrent-table > tbody > tr
fields:
category:
text: 3
title:
selector: td:nth-child(1)
details:
# https://torrentz2.pics/beta2/page.php?url=9999999%2FThe-Torrent-file-name-goes-here%2F
selector: td:nth-child(6) button
attribute: onclick
filters:
- name: regexp
args: "'(.+?)'"
- name: prepend
args: "{{ .Config.sitelink }}beta2/page.php?url="
download:
text: "{{ .Result.details }}"
seeders:
selector: td:nth-child(2)
leechers:
selector: td:nth-child(3)
size:
selector: td:nth-child(4)
date:
selector: td:nth-child(5)
filters:
- name: re_replace
2023-01-06 19:14:33 +00:00
args: ["(?i)(st|nd|rd|th|'|\\.)", ""]
- name: dateparse
args: "MMM. dd yy"
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# beta2