Jackett/src/Jackett.Common/Definitions/gktorrent.yml

105 lines
3.0 KiB
YAML
Raw Normal View History

2017-09-15 15:05:55 +00:00
---
site: gktorrent
name: GkTorrent
description: "GkTorrent is a French Public site for TV / MOVIES / GENERAL"
2017-09-15 15:05:55 +00:00
language: fr-fr
type: public
encoding: UTF-8
followredirect: true
2017-09-15 15:05:55 +00:00
links:
2019-05-11 21:14:46 +00:00
- https://www.gktorrent.biz/
2017-10-17 11:09:02 +00:00
legacylinks:
- https://www.gktorrent.com/
2018-01-25 10:49:24 +00:00
- http://www.gktorrent.com/
- http://ww1.gktorrent.com/
- http://ww2.gktorrent.com/
2018-10-02 17:51:04 +00:00
- https://ww2.gktorrent.com/
- https://ww3.gktorrent.com/
2018-10-09 02:22:37 +00:00
- http://www.gktorrent.net/
- https://ww4.gktorrent.com/
2018-12-14 21:32:10 +00:00
- http://www.gktorrent.co/
2018-12-20 23:16:44 +00:00
- https://www.gktorrent.co/
2018-12-22 19:01:52 +00:00
- https://www.gktorrent.ws/
2018-12-23 17:35:24 +00:00
- https://www.gktorrent.org/
2018-12-29 19:26:29 +00:00
- https://www.gktorrent.me/
- https://www.rantop.org/
2019-03-08 04:41:01 +00:00
- https://www.gktorrent.cx/
- https://www.gktorrent.tv/
2019-05-11 21:14:46 +00:00
- https://www.gktorrent.net/
2017-09-15 15:05:55 +00:00
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"}
2017-09-15 15:05:55 +00:00
- {id: books, cat: Books, desc: "Books"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings: []
download:
selector: a[href^="magnet:?xt="]
2017-09-15 15:05:55 +00:00
search:
paths:
- path: "{{if .Keywords}}recherche/{{.Keywords}}{{else}}{{end}}"
2017-09-15 15:05:55 +00:00
rows:
selector: div.listing-torrent > table > tbody > tr:has(a)
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
args: [" FRENCH", " {{ .Result.site_date }} FRENCH"]
- name: replace
args: ["MULTI", "{{ .Result.site_date }} MULTI"]
2017-09-15 15:05:55 +00:00
- 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: td:nth-child(1) a
attribute: href
download:
selector: td:nth-child(1) a
attribute: href
size:
selector: td:nth-child(2)
seeders:
selector: td:nth-child(3)
leechers:
selector: td:nth-child(4)
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"
category:
selector: td:nth-child(1) > i
case:
.Films: "movies"
.Séries: "tvshows"
.Logiciels: "softwares"
2018-02-06 17:00:48 +00:00
.Musique: "music"
.Jeux-Consoles: "console-games"
.Jeux-PC: "pc-games"
2018-02-06 17:00:48 +00:00
.Ebook: "books"
date:
text: "now"