assorted: cosmetic for yamllint part4

This commit is contained in:
Garfield69 2020-05-13 11:40:24 +12:00
parent 783a3436a7
commit a841d3f0a6
33 changed files with 78 additions and 80 deletions

View File

@ -109,7 +109,7 @@ search:
- name: prepend
args: "{{.Result._grouptitle}} - "
- name: replace
args: ["/ /","/"] #removes slash left after freeleech images
args: ["/ /", "/"] #removes slash left after freeleech images
- name: append
args: "{{if .Result._language}} [{{.Result._language}}]{{else}}{{end}}"
category:

View File

@ -116,7 +116,7 @@ search:
# onmouseover="Tip('<b>blahblah /><img src=\'img.php/tvmaze/80.jpg\' blahblah />');"
# <img src=\'./pic/noposter.png\'
- name: regexp
args: "src=\\\\\'(.+?)\\\\\'"
args: "src=\\\\'(.+?)\\\\'"
- name: replace
args: ["./pic/noposter.png", ""]
size:

View File

@ -6,7 +6,7 @@ language: en-us
type: public
encoding: UTF-8
links:
- https://www.7torrents.cc/
- https://www.7torrents.cc/
caps:
categories:

View File

@ -84,7 +84,7 @@ settings:
label: Download link
default: "magnet:?xt="
options:
"/get/key:" : ".torrent"
"/get/key:": ".torrent"
"magnet:?xt=": "magnet"
login:
@ -142,14 +142,14 @@ search:
size:
selector: td:nth-child(4)
date:
# 08:49:09
# 08:49:09
selector: td:nth-child(3):contains(":")
optional: true
filters:
- name: dateparse
args: "15:04:05"
date:
# 2018-10-19
# 2018-10-19
selector: td:nth-child(3):contains("-")
optional: true
filters:

View File

@ -1,3 +1,4 @@
---
id: backups
name: Back-ups
description: "Back-Ups is a Private Torrent Tracker for MOVIES / TV / GENERAL"

View File

@ -1,3 +1,4 @@
---
id: cztorrent
name: CzTorrent
description: "CzTorrent is a Czech Semi-Private site for TV / MOVIES / GENERAL"

View File

@ -226,7 +226,6 @@ search:
args: [".", ""]
- name: replace
args: [",", "."]
# 2 flavours of dates
date:
# Heute 13:30:04
# Gestern 09:10:10
@ -238,7 +237,7 @@ search:
- name: replace
args: ["Gestern", "Yesterday"]
date:
# 30.02.2018 um 23:12:50
# 30.02.2018 um 23:12:50
selector: div.selection_unter_ab:contains(".")
optional: true
filters:

View File

@ -91,7 +91,7 @@ login:
search:
paths:
# https://demon-site.eu/browse.php?c25=1&c26=1&search=&incldead=1
# https://demon-site.eu/browse.php?c25=1&c26=1&search=&incldead=1
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"

View File

@ -12,7 +12,7 @@ legacylinks:
caps:
categorymappings:
# Films
# Films
- {id: 1, cat: Movies, desc: "Films"}
- {id: 13, cat: Movies/BluRay, desc: "Films BD-Rip / BRRip"}
- {id: 15, cat: Movies/DVD, desc: "Films DVD-Rip"}
@ -34,9 +34,9 @@ caps:
- {id: 40, cat: Movies/SD, desc: "Films V.O. SD"}
- {id: 41, cat: Movies/HD, desc: "Films V.O. HD"}
- {id: 42, cat: Movies, desc: "Films TV-Rip"}
# 4K LIGHT
# 4K LIGHT
- {id: 95, cat: Movies, desc: "4K LIGHT"}
# Séries-Télé
# Séries-Télé
- {id: 16, cat: TV, desc: "Séries-Télé"}
- {id: 17, cat: TV/SD, desc: "Séries-Télé TV Pack SD"}
- {id: 21, cat: TV/SD, desc: "Séries-Télé SD"}
@ -51,19 +51,19 @@ caps:
- {id: 51, cat: TV, desc: "Séries-Télé Blu-Ray"}
- {id: 52, cat: TV, desc: "Séries-Télé DVD-R"}
- {id: 94, cat: TV/HD, desc: "Séries-Télé x265 - TV"}
# Musique
# Musique
- {id: 2, cat: Audio, desc: "Musique"}
- {id: 54, cat: Audio/MP3, desc: "Musique MP3"}
- {id: 55, cat: Audio/Lossless, desc: "Musique FLAC"}
- {id: 56, cat: Audio, desc: "Musique DSD"}
- {id: 57, cat: Audio, desc: "Musique Karaoke"}
- {id: 58, cat: Audio, desc: "Musique Autres"}
# Jeux
# Jeux
- {id: 3, cat: PC/Games, desc: "Jeux"}
- {id: 59, cat: PC/Games, desc: "Jeux PC"}
- {id: 60, cat: Console, desc: "Jeux Consoles"}
- {id: 84, cat: PC/Games, desc: "Jeux Android"}
# Livres
# Livres
- {id: 6, cat: Books, desc: "Livres"}
- {id: 61, cat: Books/Ebook, desc: "Livres epub"}
- {id: 62, cat: Books, desc: "Livres pdf"}
@ -72,31 +72,31 @@ caps:
- {id: 65, cat: Books, desc: "Livres Bandes Dessinées"}
- {id: 66, cat: Books, desc: "Livres Multi-Format"}
- {id: 85, cat: Audio/Audiobook, desc: "Livres Audio"}
# Logiciels
# Logiciels
- {id: 67, cat: PC, desc: "Logiciels"}
- {id: 68, cat: PC/0day, desc: "Logiciels Windows"}
- {id: 69, cat: PC/Mac, desc: "Logiciels Mac"}
- {id: 86, cat: PC, desc: "Logiciels Linux"}
- {id: 87, cat: PC/Phone-Android, desc: "Logiciels Android"}
# Spectacles
# Spectacles
- {id: 70, cat: TV/Other, desc: "Spectacles"}
- {id: 71, cat: TV/Other, desc: "Spectacles Humour"}
- {id: 72, cat: TV/Other, desc: "Spectacles Live"}
- {id: 88, cat: TV/Other, desc: "Spectacles Théatre"}
# Séries Animées
# Séries Animées
- {id: 73, cat: TV/Anime, desc: "Séries Animées"}
- {id: 83, cat: TV/Anime, desc: "Séries Animées"}
# Sports
# Sports
- {id: 24, cat: TV/Sport, desc: "Sports"}
- {id: 74, cat: TV/Sport, desc: "Sports [Français]"}
- {id: 75, cat: TV/Sport, desc: "Sports [Anglais]"}
# Documentaires
# Documentaires
- {id: 76, cat: TV/Documentary, desc: "Documentaires"}
- {id: 77, cat: TV/Documentary, desc: "Docu. SD"}
- {id: 78, cat: TV/Documentary, desc: "Docu. HD"}
- {id: 79, cat: TV/Documentary, desc: "Docu. V.O.S.T. SD"}
- {id: 80, cat: TV/Documentary, desc: "Docu. V.O.S.T. HD"}
# Autres / Inclassable
# Autres / Inclassable
- {id: 81, cat: Other, desc: "Autres / Inclassable"}
- {id: 82, cat: Other, desc: "Autres / Inclassable"}
@ -118,19 +118,19 @@ settings:
label: Rechercher dans (Look at)
default: "0"
options:
"0" : "Tous (All)"
"1" : "Actif Seul. (Active Only)"
"2" : "Mort Seul. (Dead Only)"
"0": "Tous (All)"
"1": "Actif Seul. (Active Only)"
"2": "Mort Seul. (Dead Only)"
- name: gold
type: select
label: FreeLeech
default: "0"
options:
"0" : "Tous (all)"
"1" : "Classic"
"2" : "Argent (Silver)"
"3" : "Or (Gold)"
"4" : "Argent & Or (Both)"
"0": "Tous (all)"
"1": "Classic"
"2": "Argent (Silver)"
"3": "Or (Gold)"
"4": "Argent & Or (Both)"
- name: multilang
type: checkbox
label: Replace MULTI by another language in release name

View File

@ -121,7 +121,7 @@ search:
- name: replace
args: ["december", "December"]
- name: re_replace
args: ["\\s*om\\s*"," "]
args: ["\\s*om\\s*", " "]
- name: dateparse
args: "2 January 2006 15:04:05"
seeders:

View File

@ -248,8 +248,8 @@ download:
search:
paths:
# https://galeriens.eu/TTV3/Torrents/Recherche?recherche=&type=tout&endroit=nomtorrent&langue=0&tl=peuimporte
# categories for searching are unsupported
# https://galeriens.eu/TTV3/Torrents/Recherche?recherche=&type=tout&endroit=nomtorrent&langue=0&tl=peuimporte
# categories for searching are unsupported
- path: TTV3/Torrents/Recherche
inputs:
recherche: "{{ .Keywords }}"

View File

@ -39,7 +39,7 @@ login:
search:
paths:
# http://hdroute.org/browse.php?s=&dp=0&add=0&action=s&c1=1&c3=1&or=1&imdb=
# http://hdroute.org/browse.php?s=&dp=0&add=0&action=s&c1=1&c3=1&or=1&imdb=
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"

View File

@ -33,7 +33,7 @@ settings:
label: Category Filter
default: "0"
options:
"0" : "All"
"0": "All"
"1": "Anime"
"2": "Software"
"3": "Games"

View File

@ -10,7 +10,7 @@ links:
caps:
categorymappings:
# films
# films
- {id: 13, cat: Movies, desc: "Фильмы"}
- {id: 68, cat: Movies, desc: "Новинки кинопроката"}
- {id: 670, cat: Movies, desc: "Авторские переводы"}

View File

@ -91,7 +91,7 @@ login:
search:
paths:
# 15 results per page
# 15 results per page
- path: /
inputs:
page: 1

View File

@ -48,7 +48,7 @@ settings:
search:
paths:
# http://www.legittorrents.info/index.php?page=torrents&search=windows&category=0&active=0
# http://www.legittorrents.info/index.php?page=torrents&search=windows&category=0&active=0
- path: index.php
inputs:
page: torrents

View File

@ -112,5 +112,3 @@ search:
args: " +01:00"
- name: dateparse
args: "2006-01-0215:04:05 -07:00"

View File

@ -63,11 +63,11 @@ search:
- name: re_replace
args: ["\\bS(\\d+)E(\\d{1})\\b", "S$1E0$2"]
- name: replace
args: ["WEBDLRip","WEBDL"]
args: ["WEBDLRip", "WEBDL"]
- name: replace
args: ["HDTVRip","HDTV"]
args: ["HDTVRip", "HDTV"]
- name: replace
args: ["E -","E01-99 -"]
args: ["E -", "E01-99 -"]
details:
selector: a[href^="./viewtopic.php?t="]
attribute: href
@ -91,12 +91,12 @@ search:
# 14-Ноя-17, 06:11
selector: td:nth-child(6)
filters:
# replace white spaces
# replace white spaces
- name: re_replace
args: ["(Сегодня|Вчера|\\s|,|-)+", " "]
- name: re_replace
args: ["(Today|Yesterday|\\s|,|-)+", " "]
# replace month abbreviations
# replace month abbreviations
- name: replace
args: ["Янв", "Jan"]
- name: replace

View File

@ -82,11 +82,11 @@ search:
- name: re_replace
args: ["\\bS(\\d+)E(\\d{1})\\b", "S$1E0$2"]
- name: replace
args: ["WEBDLRip","WEBDL"]
args: ["WEBDLRip", "WEBDL"]
- name: replace
args: ["HDTVRip","HDTV"]
args: ["HDTVRip", "HDTV"]
- name: replace
args: ["E -","E01-99 -"]
args: ["E -", "E01-99 -"]
details:
selector: a[href^="./viewtopic.php?t="]
attribute: href
@ -110,7 +110,7 @@ search:
# 14-Ноя-17, 06:11
selector: td:nth-child(6)
filters:
# replace white spaces
# replace white spaces
- name: re_replace
args: ["(Сегодня|Вчера|\\s|,|-)+", " "]
- name: re_replace

View File

@ -117,7 +117,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=\\\\\'(.+?)\\\\\'"
args: "src=\\\\'(.+?)\\\\'"
- name: replace
args: ["./pic/noposter.png", ""]
files:

View File

@ -131,7 +131,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=\\\\\'(.+?)\\\\\'"
args: "src=\\\\'(.+?)\\\\'"
- name: replace
args: ["./pic/noposter.png", ""]
files:

View File

@ -714,20 +714,20 @@ search:
selector: td > u
# 2 date flavours for 3 languages
date:
# 15:04
# 15:04
optional: true
selector: td[title="Добавлен"] p:first-of-type:not(:contains("-")), td[title="Доданий"] p:first-of-type:not(:contains("-")), td[title="Added"] p:first-of-type:not(:contains("-"))
filters:
- name: dateparse
args: "15:04"
date:
# 15:04 24-02-19
# 15:04 24-02-19
optional: true
selector: td[title="Добавлен"] p:first-of-type:contains("-"), td[title="Доданий"] p:first-of-type:contains("-"), td[title="Added"] p:first-of-type:contains("-")
filters:
- name: dateparse
args: "15:04 2-01-06"
# Russian and Ukranian and English languages are supported
# Russian and Ukranian and English languages are supported
grabs:
selector: td[title^="Ответов"], td[title^="Відповідей"], td[title^="Replies"]
seeders:

View File

@ -10,7 +10,7 @@ links:
caps:
categorymappings:
- {id: XXX, cat: XXX, desc: "XXX"}
- {id: XXX, cat: XXX, desc: "XXX"}
modes:
search: [q]

View File

@ -155,7 +155,7 @@ search:
selector: h1 > a
attribute: href
download:
# <a href="https://rapidzona.tv/engine/download.php?id=78824">
# <a href="https://rapidzona.tv/engine/download.php?id=78824">
selector: h1 > a
attribute: href
size:
@ -169,7 +169,7 @@ search:
date:
selector: p.title-footer
filters:
# 20/02/2020 18:34
# 20/02/2020 18:34
- name: regexp
args: "(\\d{1,2}\\/\\d{2}\\/\\d{4} \\d{1,2}\\:\\d{2})"
- name: dateparse

View File

@ -119,7 +119,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=\\\\\'(.+?)\\\\\'"
args: "src=\\\\'(.+?)\\\\'"
imdb:
optional: true
selector: a[href*="imdb.com/title/tt"]

View File

@ -105,7 +105,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=\\\\\'(.+?)\\\\\'"
args: "src=\\\\'(.+?)\\\\'"
- name: replace
args: ["./pic/noposter.png", ""]
files:

View File

@ -147,7 +147,7 @@ download:
search:
paths:
# http://sporthd.org/browse.php?cat=0&incldead=1&sort=2&type=desc&s=0&stype=0&search=
# http://sporthd.org/browse.php?cat=0&incldead=1&sort=2&type=desc&s=0&stype=0&search=
- path: browse.php
inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"

View File

@ -56,10 +56,10 @@ login:
search:
paths:
# https://theaudioscene.net/torrentsettings/torrentbrowse.php?SrcCat=0&SrcDat=0&SrcEnd=0&search=
# https://theaudioscene.net/torrentsettings/torrentbrowse.php?SrcCat=0&SrcDat=0&SrcEnd=0&search=
- path: torrentsettings/torrentbrowse.php
inputs:
# catalog 0 all
# catalog 0 all
SrcCat: 0
SrcDat: "{{ .Config.sort }}"
# 0 new&old 1 new only 2 old only

View File

@ -242,7 +242,6 @@ search:
args: [".", ""]
- name: replace
args: [",", "."]
# 2 flavours of dates
date:
# Heute 13:30:04
# Gestern 09:10:10
@ -254,7 +253,7 @@ search:
- name: replace
args: ["Gestern", "Yesterday"]
date:
# 30.02.2018 um 23:12:50
# 30.02.2018 um 23:12:50
selector: div.selection_unter_ab:contains(".")
optional: true
filters:

View File

@ -71,7 +71,7 @@ login:
search:
paths:
# http://www.totallykids.tv/index.php?page=torrents&search=scooby&category=1;2;5;6;4;7;8;15;24;16;23&options=0&active=0
# http://www.totallykids.tv/index.php?page=torrents&search=scooby&category=1;2;5;6;4;7;8;15;24;16;23&options=0&active=0
- path: index.php
inputs:
page: torrents
@ -124,14 +124,14 @@ search:
selector: td:nth-child(10)
# two flavours of dates
date:
# Yesterday at 10:03:30 PM
# Yesterday at 10:03:30 PM
selector: td:nth-child(5):contains("day")
optional: true
filters:
- name: re_replace
args: ["[ ]at|[\\s+]|[//\xa0],\\/g", " "]
date:
# February 09, 2019, 06:35:08 AM
# February 09, 2019, 06:35:08 AM
selector: td:nth-child(5):not(:contains("day"))
optional: true
filters:

View File

@ -145,7 +145,7 @@ search:
optional: true
filters:
- name: regexp
args: "src=\\\\\'(.+?)\\\\\'"
args: "src=\\\\'(.+?)\\\\'"
- name: replace
args: ["./pic/noposter.png", ""]
imdb:

View File

@ -159,7 +159,7 @@ search:
attribute: onmouseover
filters:
- name: regexp
args: "src=\\\\\'(.+?)\\\\\'"
args: "src=\\\\'(.+?)\\\\'"
- name: replace
args: ["./pic/noposter.png", ""]
files:

View File

@ -75,18 +75,18 @@ search:
selector: td:nth-child(2)
attribute: src
case:
"img[src$=\"/anime.png\"]": 28
"img[src$=\"/dorama.png\"]": 50
"img[src$=\"/manga.png\"]": 49
"img[src$=\"/ova.png\"]": 48
"img[src$=\"/filme.png\"]": 47
"img[src$=\"/ost.png\"]": 51
"img[src$=\"/completo.png\"]": 52
"img[src$=\"/completo_m.png\"]": 53
"img[src$=\"/completo_m.png\"]": 54
"img[src$=\"/hentai.png\"]": 55
"img[src$=\"/hdojinshi.png\"]": 56
"img[src$=\"/tokusatsu.png\"]": 57
"img[src$=\"/anime.png\"]": 28
"img[src$=\"/dorama.png\"]": 50
"img[src$=\"/manga.png\"]": 49
"img[src$=\"/ova.png\"]": 48
"img[src$=\"/filme.png\"]": 47
"img[src$=\"/ost.png\"]": 51
"img[src$=\"/completo.png\"]": 52
"img[src$=\"/completo_m.png\"]": 53
"img[src$=\"/completo_m.png\"]": 54
"img[src$=\"/hentai.png\"]": 55
"img[src$=\"/hdojinshi.png\"]": 56
"img[src$=\"/tokusatsu.png\"]": 57
date:
text: now
seeders: