Jackett/src/Jackett.Common/Definitions/oxtorrent.yml

116 lines
3.4 KiB
YAML
Raw Normal View History

---
site: oxtorrent
name: OxTorrent
description: "OxTorrent is a French Public site for TV / MOVIES / GENERAL"
language: fr-fr
type: public
encoding: UTF-8
followredirect: true
links:
2019-11-09 06:46:33 +00:00
- https://www.oxtorrent.com/
- https://www.oxtorrent.co/
- https://oxtorrent.black-mirror.xyz/
- https://oxtorrent.unblocked.casa/
- https://oxtrorrent.proxyportal.fun/
- https://oxtorrent.uk-unblock.xyz/
- https://oxtorrent.ind-unblock.xyz/
2019-07-26 22:00:40 +00:00
legacylinks:
- https://wwv.oxtorrent.com/
2019-11-09 06:46:33 +00:00
- https://www.smartorrent.tv/
caps:
categorymappings:
- {id: movies, cat: Movies, desc: "Movies"}
- {id: tvshows, cat: TV, desc: "TV Shows"}
- {id: softwares, cat: PC, desc: "Softwares"}
- {id: music, cat: Audio, desc: "Music"}
- {id: console-games, cat: Console, desc: "Console Games"}
- {id: pc-games, cat: PC/Games, desc: "PC Games"}
- {id: books, cat: Books, desc: "Books"}
- {id: xxx, cat: XXX, desc: "XXX"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
2020-04-21 21:01:58 +00:00
music-search: [q]
settings:
- name: downloadlink
type: select
label: Download link
default: "magnet:?xt="
options:
"/telecharger/" : ".torrent"
"magnet:?xt=": "magnet"
- name: info_downloadlink
type: info
label: "About the Download Link"
default: "Note that only <b>www.oxtorrent.com</b> supports the use of the <b>.torrent</b> download link.<br />All sites support <b>magnet</b> links."
download:
selector: a[href*="{{ .Config.downloadlink }}"]
attribute: href
search:
paths:
2020-01-19 19:36:57 +00:00
- path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{else}}{{end}}"
rows:
selector: table.table-hover > tbody > tr:has(a[href*="torrent/"])
filters:
- name: andmatch
fields:
category:
selector: td:nth-child(1) i, td:nth-child(1) div i
case:
.Films: "movies"
.Séries: "tvshows"
.Logiciels: "softwares"
.Musique: "music"
.Jeux-Consoles: "console-games"
.Jeux-PC: "pc-games"
.Ebook: "books"
.Porno: "xxx"
site_date:
selector: td:nth-child(1) a
filters:
# year is at the end of the title, so we get it and name it site_date
- name: regexp
args: "(\\d{4})$"
title:
selector: td:nth-child(1) 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: ["MULTI", "{{ .Result.site_date }} MULTI"]
- 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: ["(\\d{4})$", ""]
details:
selector: td:nth-child(1) a
attribute: href
download:
selector: td:nth-child(1) a
attribute: href
size:
selector: td:nth-child(2)
date:
text: now
seeders:
selector: td:nth-child(3)
leechers:
selector: td:nth-child(4)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
2020-01-19 19:36:57 +00:00
# engine n/a