Jackett/src/Jackett.Common/Definitions/zetorrents.yml

85 lines
2.0 KiB
YAML
Raw Normal View History

---
id: zetorrents
name: zetorrents
description: "zetorrents is a FRENCH Public site for MOVIES / TV / GENERAL"
language: fr-fr
type: public
encoding: UTF-8
links:
2020-06-30 07:01:56 +00:00
- https://www.zetorrents.io/
legacylinks:
- https://www.zetorrents.co/
caps:
categories:
1: Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: info
type: info
default: zetorrents does not use categories. In your software Indexer settings, set the category to 7000.
download:
selector: a[href^="magnet:?xt="]
attribute: href
search:
paths:
- path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{else}}{{end}}"
rows:
selector: table.table > tbody > tr:has(a[href^="/torrent/"])
fields:
category:
text: 1
site_date:
selector: a[href^="/torrent/"]
filters:
# date is at the end of the title, so we get it and name it site_date
- name: regexp
args: "(\\d{4})$"
title:
selector: a[href^="/torrent/"]
attribute: title
filters:
- name: replace
args: [" en Torrent", ""]
- name: replace
args: [" FRENCH", " {{ .Result.site_date }} FRENCH"]
- name: replace
args: ["MULTI", "{{ .Result.site_date }} MULTI"]
- name: replace
args: ["TRUEFRENCH", "{{ .Result.site_date }} TRUEFRENCH"]
- name: replace
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
# and we delete the year at the end
- name: re_replace
args: ["(\\d{4})$", ""]
- name: replace
args: ["WEBRIP", "WEBDL"]
details:
selector: a[href^="/torrent/"]
attribute: href
download:
selector: a[href^="/torrent/"]
attribute: href
date:
text: now
size:
selector: td:nth-child(2)
seeders:
selector: td:nth-child(3)
leechers:
selector: td:nth-child(4)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a