Jackett/src/Jackett.Common/Definitions/extratorrent-cd.yml

104 lines
2.3 KiB
YAML

---
id: extratorrent-cd
name: ExtraTorrent.cd
description: "ExtraTorrent.cd is a Public tracker, a popular alternative to the original ET site, providing Movie / TV / General magnets"
language: en-us
type: public
encoding: UTF-8
followredirect: true
links:
- https://extratorrent.si/
legacylinks:
- https://extratorrent.unblockit.pro/
- https://extratorrent.unblockit.one/ # for .ag
caps:
categories:
1: TV
2: Movies
3: Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: category-id
type: select
label: The ExtraTorrent web site does not provide categories. Select the category you want Jackett to set on all results returned.
default: 3
options:
1: TV
2: Movies
3: Other
search:
paths:
- path: "search/?search={{ .Keywords }}"
keywordsfilters:
- name: re_replace
args: ["[\\s]+", "."]
rows:
selector: tr[class^="tl"]
filters:
- name: andmatch
fields:
category:
text: "{{ .Config.category-id }}"
title:
selector: a[href*="/torrent/"][title^="view"]
details:
selector: a[href*="/torrent/"]
attribute: href
filters:
- name: replace
args: ["///", "//"]
download:
selector: a[href^="magnet:?xt="]
attribute: href
date:
# Y-day-2020 (seriously!?!, like there's a Y-day-2019 ?)
# Today-22:03
selector: td:nth-last-of-type(5):contains("day")
optional: true
filters:
- name: replace
args: ["\xA0", " "]
- name: re_replace
args: ["(Today-)", "Today "]
- name: re_replace
args: ["(Y-day-.*)", "Yesterday"]
- name: fuzzytime
date:
# 12-27-2019
selector: td:nth-last-of-type(5):not(:contains(":")):not(:contains("day"))
optional: true
filters:
- name: replace
args: ["\xA0", "-"]
- name: append
args: " -07:00" # PDT
- name: dateparse
args: "01-02-2006 -07:00"
size:
selector: td:nth-last-of-type(4)
seeders:
text: 0
seeders:
optional: true
selector: td.sy, td.sn
leechers:
text: 0
leechers:
optional: true
selector: td.ly, td.ln
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a