Jackett/src/Jackett.Common/Definitions/nexttorrent.yml

93 lines
2.5 KiB
YAML
Raw Normal View History

---
site: nexttorrent
name: NextTorrent
description: "NextTorrent is a FRENCH Public site for TV / MOVIES / GENERAL"
language: fr-fr
type: public
encoding: UTF-8
links:
2018-03-05 17:46:58 +00:00
- http://www.nextorrent.bz/
legacylinks:
2018-03-05 17:46:58 +00:00
- http://www.nextorrent.pro/
2017-10-22 18:14:35 +00:00
- https://www.nextorrent.cc/
2017-08-11 16:46:32 +00:00
- https://www.nextorrent.org/
- https://www.nextorrent.tv/
caps:
categorymappings:
- {id: Film, cat: Movies, desc: "Movies"}
- {id: Séries, cat: TV, desc: "TV"}
- {id: Animes, cat: TV/Anime, desc: "TV/Anime"}
- {id: Jeux, cat: Console, desc: "Games"}
- {id: Ebooks, cat: Books, desc: "EBooks"}
- {id: Logiciels, cat: PC, desc: "Software"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings: []
download:
selector: a[href^="/_get/NexTorrent.pro-"]
search:
paths:
- path: /
inputs:
s: "{{ .Keywords }}"
rows:
selector: article[id^="post-"]
fields:
site_date:
selector: h2 a
filters:
# date is at the end of the title, so we get it and name it site_date
- name: regexp
args: "(\\w+)$"
title:
selector: h2 a
filters:
# now we put the date at the right place according scene naming rules using .Result.site_date
- name: replace
args: ["FRENCH", "{{ .Result.site_date }} FRENCH"]
- name: replace
args: ["TRUEFRENCH", "{{ .Result.site_date }} TRUEFRENCH"]
- name: replace
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
# and we delete it at the end
- name: re_replace
args: ["(\\w+)$", ""]
details:
selector: h2 a
attribute: href
download:
selector: h2 a
attribute: href
banner:
selector: div.post_image
attribute: src
category:
selector: p.meta span.post-category a
size:
# there is no size on the primary search results page. defaulting to 500 MB
text: "500 MB"
2017-10-22 18:14:35 +00:00
date:
selector: p.meta span.post-date a time.entry-date
attribute: datetime
filters:
- name: dateparse
2018-02-12 15:06:47 +00:00
args: "2006-01-02T15:04:05-07:00"
seeders:
# there is no seeders on the primary search results page. defaulting to 0
text: 0
leechers:
# there is no leechers on the primary search results page. defaulting to 0
text: 0
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"