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

110 lines
2.6 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:
Other: Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: info_8000
type: info
label: About ExtraTorrent Categories
default: ExtraTorrent does not return categories in its search results.</br>To add to your Apps' Torznab indexer, replace all categories with 8000(Other).
search:
paths:
- path: "search/?search={{ .Keywords }}"
keywordsfilters:
- name: re_replace
args: ["[\\s]+", "."]
rows:
selector: tr[class^="tl"]
filters:
- name: andmatch
fields:
category:
text: Other
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")):not(:contains("ago"))
optional: true
filters:
- name: replace
args: ["\xA0", "-"]
- name: append
args: " -07:00" # PDT
- name: dateparse
args: "01-02-2006 -07:00"
date:
# 4-mins-ago
selector: td:nth-last-of-type(5):contains("ago")
optional: true
filters:
- name: replace
args: ["\xA0", "-"]
- name: replace
args: ["-", " "]
- name: timeago
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