Select Git revision
torrent9.yml
torrent9.yml 4.09 KiB
---
site: torrent9
name: Torrent9
description: "Torrent9 is a FRENCH Public site for TV / MOVIES / GENERAL"
language: fr-fr
type: public
encoding: UTF-8
links:
- http://www.torrent9.red/
legacylinks:
- http://www.torrent9.bz/
- http://www.torrents9.pe/
- http://www.torrent9.cc/
- http://www.torrent9.pe/
caps:
categorymappings:
- {id: films, cat: Movies, desc: "Movies"}
- {id: series, cat: TV, desc: "TV"}
- {id: musique, cat: Audio, desc: "Music"}
- {id: ebook, cat: Books, desc: "Books"}
- {id: logiciels, cat: PC, desc: "Software"}
- {id: jeux-pc, cat: PC/Games, desc: "PC Games"}
- {id: jeux-consoles, cat: Console/Xbox360, desc: "Console Games"}
modes:
search: [q]
tv-search: [q, season, ep]
settings:
- name: category
type: select
label: Category Filter
default: "/"
options:
"/" : "All"
"/films/": "Movies"
"/films-french/": "Movies/French"
"/films-vostfr/": "Movies/VOSTFR"
"/films-dvdrip-x264/": "Movies/DVDRIP .x264"
"/720p/": "Movies/BluRay 720p"
"/1080p/": "Movies/BluRay 1080p"
"/series/": "TV/Series"
"/series-vostfr/": "TV/VOSTFR"
"/series-francaise/": "TV/French"
"/series-dvdrip/": "TV/DVDRIP"
"/spectacles/": "Shows"
"/musique/": "Music"
"/ebook/": "Ebooks"
"/logiciels/": "Software"
"/jeux-pc/": "PC Games"
"/jeux-consoles/": "Console Games"
search:
paths:
- path: "{{ if .Keywords }}/search_torrent{{ .Config.category }}{{ .Keywords }}/page-0{{else}}/top_torrent.php{{end}}"
rows:
selector: div.table-responsive > table tbody tr
fields:
site_date:
selector: td:nth-child(1) 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: 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