assorted: cosmetic for yamllint part3

This commit is contained in:
Garfield69 2020-05-13 11:07:31 +12:00
parent 85b34ffe1f
commit 783a3436a7
33 changed files with 166 additions and 169 deletions

View File

@ -132,9 +132,9 @@ settings:
label: Download link
default: "magnet:"
options:
"http://itorrents.org/" : "iTorrents.org"
"http://torrage.info/" : "Torrage.info"
"http://btcache.me/" : "BTcache.me"
"http://itorrents.org/": "iTorrents.org"
"http://torrage.info/": "Torrage.info"
"http://btcache.me/": "BTcache.me"
"magnet:": "magnet"
- name: sort
type: select

View File

@ -53,8 +53,8 @@ download:
search:
paths:
# https://www.acgsou.com/1.html
# https://www.acgsou.com/search.php?keyword=test
# https://www.acgsou.com/1.html
# https://www.acgsou.com/search.php?keyword=test
- path: "{{ if .Keywords }}search.php?keyword={{ .Keywords }}{{else}}1.html{{end}}"
rows:

View File

@ -130,5 +130,3 @@ search:
args: " +01:00"
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"

View File

@ -108,8 +108,8 @@ login:
search:
paths:
# https://asgrd.org/browse.php?sns=&sna=&spf=&sr=&sg=&sys=&sye=&srs=&sre=&si=tt2401090&ss=&incldead=0&only_free=0&sort=4&type=desc
- path: browse.php
# https://asgrd.org/browse.php?sns=&sna=&spf=&sr=&sg=&sys=&sye=&srs=&sre=&si=tt2401090&ss=&incldead=0&only_free=0&sort=4&type=desc
- path: browse.php
inputs:
$raw: "{{ range .Categories }}cats[]={{.}}&{{end}}"
sns: ""
@ -139,7 +139,7 @@ search:
title:
selector: div.torrent-name
filters:
# need to remove the tooltip text
# need to remove the tooltip text
- name: regexp
args: "(.+?)\\n"
details:
@ -164,7 +164,7 @@ search:
- name: dateparse
args: "2 Jan 2006 15:04:05"
files:
# remember #5754 advanced users have additional last TD so dont go using nth-last-child ;-)
# remember #5754 advanced users have additional last TD so dont go using nth-last-child ;-)
selector: td:nth-child(5)
size:
selector: td:nth-child(7)

View File

@ -149,7 +149,7 @@ search:
attribute: href
date:
optional: true
# Uploaded 30-01-2019 15:02 by
# Uploaded 30-01-2019 15:02 by
selector: td.torrent_name:not(:contains(" at "))
filters:
- name: regexp
@ -158,9 +158,9 @@ search:
args: "02-01-2006 15:04"
date:
optional: true
# Uploaded Friday at 05:11 by
# Uploaded Today at 00:48 by
# Uploaded Yesterday at 23:57 by
# Uploaded Friday at 05:11 by
# Uploaded Today at 00:48 by
# Uploaded Yesterday at 23:57 by
selector: td.torrent_name:contains(" at ")
filters:
- name: regexp

View File

@ -86,7 +86,7 @@ search:
- name: re_replace # E01 to BL01
args: ["(?i)\\bE(\\d+)\\b", "E$1"]
inputs:
# does not support multi categories so defaulting to ALL
# does not support multi categories so defaulting to ALL
do: search
keywords: "{{ .Keywords }}"
category: 0

View File

@ -154,8 +154,8 @@ search:
title:
selector: div.list-name a.tlink
filters:
- name: re_replace
args: [" [\\(\\=\\!]+(50|100).*?[\\!\\=\\)]+", ""]
- name: re_replace
args: [" [\\(\\=\\!]+(50|100).*?[\\!\\=\\)]+", ""]
details:
selector: div.list-name a.tlink
attribute: href

View File

@ -100,7 +100,7 @@ ratio:
search:
paths:
# http://www.crnaberza.com/browse.php?c52=1&c20=1&c34=1&incldead=1&search=star+trek
# http://www.crnaberza.com/browse.php?c52=1&c20=1&c34=1&incldead=1&search=star+trek
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"

View File

@ -105,7 +105,7 @@ download:
search:
paths:
# http://www.dimeadozen.org/torrents-browse.php?search=%2Btalk+%2Bparis&cat=0&incldead=1&searchscope=1
# http://www.dimeadozen.org/torrents-browse.php?search=%2Btalk+%2Bparis&cat=0&incldead=1&searchscope=1
- path: torrents-browse.php
inputs:
search: "{{ .Keywords }}"

View File

@ -69,7 +69,7 @@ login:
download:
before:
# https://www.extremetorrents.org/comment.php?action=add&tid=166386
# https://www.extremetorrents.org/comment.php?action=add&tid=166386
path: comment.php
method: post
inputs:

View File

@ -161,7 +161,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

@ -51,7 +51,7 @@ settings:
label: Download link
default: "magnet:?xt="
options:
"/telecharger/" : ".torrent"
"/telecharger/": ".torrent"
"magnet:?xt=": "magnet"
download:

View File

@ -72,7 +72,7 @@ settings:
search:
paths:
# https://glodls.to/search_results.php?c1=1&c72=1&c41=1&search=blacklist+s07e05&cat=0&incldead=1&inclexternal=0&lang=0&sort=id&order=desc
# https://glodls.to/search_results.php?c1=1&c72=1&c41=1&search=blacklist+s07e05&cat=0&incldead=1&inclexternal=0&lang=0&sort=id&order=desc
- path: search_results.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"

View File

@ -152,12 +152,14 @@ search:
- name: re_replace
args: ["[^a-zA-Z0-9]+", " "]
inputs:
page: "torrents"
$raw: "&category={{range .Categories}}{{.}};{{end}}"
active: "1"
page: torrents
$raw: "&category={{ range .Categories }}{{.}};{{end}}"
active: 1
search: "{{ .Keywords }}"
rows:
selector: "#category+table table tr:not(:first-child):not(:last-child)"
fields:
category:
selector: td:nth-child(1) a
@ -176,7 +178,7 @@ search:
- name: re_replace
args: ["(?i)\\w*Temp\\w*\\b\\s?(\\d{1,2})(ª|\\D)?\\b", " S$1 "]
- name: re_replace
args: ["(?i)(\\d{1,2})(ª|\\D)?\\s?\\w*Temp\\w*\\b"," S$1 "]
args: ["(?i)(\\d{1,2})(ª|\\D)?\\s?\\w*Temp\\w*\\b", " S$1 "]
title:
selector: td[valign="middle"] a:not(:contains("VOSE"))
optional: true
@ -188,7 +190,7 @@ search:
- name: re_replace
args: ["(?i)\\w*Temp\\w*\\b\\s?(\\d{1,2})(ª|\\D)?\\b", " S$1 "]
- name: re_replace
args: ["(?i)(\\d{1,2})(ª|\\D)?\\s?\\w*Temp\\w*\\b"," S$1 "]
args: ["(?i)(\\d{1,2})(ª|\\D)?\\s?\\w*Temp\\w*\\b", " S$1 "]
details:
selector: td[valign="middle"] a
attribute: href
@ -220,18 +222,18 @@ search:
attribute: href
downloadvolumefactor:
case:
img[src$="freeleech.gif"]: "0"
img[src$="gold.gif"]: "0"
img[src$="silver.gif"]: "0.5"
"*": "1"
img[src$="freeleech.gif"]: 0
img[src$="gold.gif"]: 0
img[src$="silver.gif"]: 0.5
"*": 1
uploadvolumefactor:
case:
img[src$="2x.gif"]: "2"
img[src$="3x.gif"]: "3"
img[src$="4x.gif"]: "4"
img[src$="5x.gif"]: "5"
img[src$="6x.gif"]: "6"
img[src$="7x.gif"]: "7"
img[src$="8x.gif"]: "8"
img[src$="9x.gif"]: "9"
"*": "1"
case:
img[src$="2x.gif"]: 2
img[src$="3x.gif"]: 3
img[src$="4x.gif"]: 4
img[src$="5x.gif"]: 5
img[src$="6x.gif"]: 6
img[src$="7x.gif"]: 7
img[src$="8x.gif"]: 8
img[src$="9x.gif"]: 9
"*": 1

View File

@ -158,4 +158,3 @@ search:
selector: td:nth-child(2)
remove: a, img
# customised NexusPHP Standard v0.1

View File

@ -39,8 +39,8 @@ login:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: div.error
- selector: h1:contains("404 Not Found")
- selector: div.error
- selector: h1:contains("404 Not Found")
test:
path: browse.php

View File

@ -12,49 +12,49 @@ legacylinks:
caps:
categorymappings:
- {id: 38, cat: Movies, desc: "Movie Packs"}
- {id: 10, cat: Movies/SD, desc: "Movies: SD"}
- {id: 35, cat: Movies/SD, desc: "Movies: SD Ro"}
- {id: 8, cat: Movies/HD, desc: "Movies: HD"}
- {id: 29, cat: Movies/HD, desc: "Movies: HD Ro"}
- {id: 7, cat: Movies/DVD, desc: "Movies: DVD"}
- {id: 2, cat: Movies/DVD, desc: "Movies: DVD Ro"}
- {id: 17, cat: Movies/BluRay, desc: "Movies: BluRay"}
- {id: 24, cat: Movies/BluRay, desc: "Movies: BluRay Ro"}
- {id: 59, cat: Movies, desc: "Movies: Ro"}
- {id: 57, cat: Movies/UHD, desc: "Movies: 4K (2160p) Ro"}
- {id: 61, cat: Movies/UHD, desc: "Movies: 4K (2160p)"}
- {id: 41, cat: TV, desc: "TV Packs"}
- {id: 66, cat: TV, desc: "TV Packs Ro"}
- {id: 45, cat: TV, desc: "TV Episodes"}
- {id: 46, cat: TV, desc: "TV Episodes Ro"}
- {id: 43, cat: TV/HD, desc: "TV Episodes HD"}
- {id: 44, cat: TV/HD, desc: "TV Episodes HD Ro"}
- {id: 60, cat: TV, desc: "TV Ro"}
- {id: 11, cat: PC/Games, desc: "Games: PC-ISO"}
- {id: 52, cat: Console, desc: "Games: Console"}
- {id: 1, cat: PC/0day, desc: "Applications"}
- {id: 14, cat: PC, desc: "Applications: Linux"}
- {id: 37, cat: PC/Mac, desc: "Applications: Mac"}
- {id: 19, cat: PC/Phone-Other, desc: "Applications: Mobile"}
- {id: 62, cat: TV, desc: "TV Cartoons"}
- {id: 3, cat: TV/Anime, desc: "TV Anime / Hentai"}
- {id: 6, cat: Books/Ebook, desc: "E-books"}
- {id: 5, cat: Audio, desc: "Music"}
- {id: 64, cat: Audio/Video, desc: "Music Video"}
- {id: 18, cat: Other, desc: "Images"}
- {id: 22, cat: TV/Sport, desc: "TV Sports"}
- {id: 58, cat: TV/Sport, desc: "TV Sports Ro"}
- {id: 9, cat: TV/Documentary, desc: "TV Documentary"}
- {id: 63, cat: TV/Documentary, desc: "TV Documentary Ro"}
- {id: 65, cat: Other, desc: "Tutorial"}
- {id: 67, cat: Other, desc: "Miscellaneous"}
- {id: 15, cat: XXX, desc: "XXX Movies"}
- {id: 47, cat: XXX, desc: "XXX DVD"}
- {id: 48, cat: XXX, desc: "XXX HD"}
- {id: 49, cat: XXX, desc: "XXX Images"}
- {id: 50, cat: XXX, desc: "XXX Packs"}
- {id: 51, cat: XXX, desc: "XXX SD"}
- {id: 38, cat: Movies, desc: "Movie Packs"}
- {id: 10, cat: Movies/SD, desc: "Movies: SD"}
- {id: 35, cat: Movies/SD, desc: "Movies: SD Ro"}
- {id: 8, cat: Movies/HD, desc: "Movies: HD"}
- {id: 29, cat: Movies/HD, desc: "Movies: HD Ro"}
- {id: 7, cat: Movies/DVD, desc: "Movies: DVD"}
- {id: 2, cat: Movies/DVD, desc: "Movies: DVD Ro"}
- {id: 17, cat: Movies/BluRay, desc: "Movies: BluRay"}
- {id: 24, cat: Movies/BluRay, desc: "Movies: BluRay Ro"}
- {id: 59, cat: Movies, desc: "Movies: Ro"}
- {id: 57, cat: Movies/UHD, desc: "Movies: 4K (2160p) Ro"}
- {id: 61, cat: Movies/UHD, desc: "Movies: 4K (2160p)"}
- {id: 41, cat: TV, desc: "TV Packs"}
- {id: 66, cat: TV, desc: "TV Packs Ro"}
- {id: 45, cat: TV, desc: "TV Episodes"}
- {id: 46, cat: TV, desc: "TV Episodes Ro"}
- {id: 43, cat: TV/HD, desc: "TV Episodes HD"}
- {id: 44, cat: TV/HD, desc: "TV Episodes HD Ro"}
- {id: 60, cat: TV, desc: "TV Ro"}
- {id: 11, cat: PC/Games, desc: "Games: PC-ISO"}
- {id: 52, cat: Console, desc: "Games: Console"}
- {id: 1, cat: PC/0day, desc: "Applications"}
- {id: 14, cat: PC, desc: "Applications: Linux"}
- {id: 37, cat: PC/Mac, desc: "Applications: Mac"}
- {id: 19, cat: PC/Phone-Other, desc: "Applications: Mobile"}
- {id: 62, cat: TV, desc: "TV Cartoons"}
- {id: 3, cat: TV/Anime, desc: "TV Anime / Hentai"}
- {id: 6, cat: Books/Ebook, desc: "E-books"}
- {id: 5, cat: Audio, desc: "Music"}
- {id: 64, cat: Audio/Video, desc: "Music Video"}
- {id: 18, cat: Other, desc: "Images"}
- {id: 22, cat: TV/Sport, desc: "TV Sports"}
- {id: 58, cat: TV/Sport, desc: "TV Sports Ro"}
- {id: 9, cat: TV/Documentary, desc: "TV Documentary"}
- {id: 63, cat: TV/Documentary, desc: "TV Documentary Ro"}
- {id: 65, cat: Other, desc: "Tutorial"}
- {id: 67, cat: Other, desc: "Miscellaneous"}
- {id: 15, cat: XXX, desc: "XXX Movies"}
- {id: 47, cat: XXX, desc: "XXX DVD"}
- {id: 48, cat: XXX, desc: "XXX HD"}
- {id: 49, cat: XXX, desc: "XXX Images"}
- {id: 50, cat: XXX, desc: "XXX Packs"}
- {id: 51, cat: XXX, desc: "XXX SD"}
modes:
search: [q, imdbid]
@ -122,7 +122,7 @@ ratio:
search:
paths:
# https://icetorrent.org/browse?search=&submit=&sort=torrent.size&direction=desc&page=1
- path: "{{ if .Config.browseadult }}adult{{else}}browse{{end}}"
- path: "{{ if .Config.browseadult }}adult{{else}}browse{{end}}"
inputs:
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"

View File

@ -14,57 +14,57 @@ legacylinks:
caps:
categorymappings:
# Adult
- {id: 12, cat: XXX, desc: "Adult"}
- {id: 12, cat: XXX, desc: "Adult"}
# Applicazioni
- {id: 5, cat: PC/Phone-Android, desc: "Android"}
- {id: 30, cat: PC/Phone-IOS, desc: "iOS / iPhone"}
- {id: 7, cat: PC/0day, desc: "Windows"}
- {id: 8, cat: PC, desc: "Linux"}
- {id: 9, cat: PC/Mac, desc: "Mac"}
- {id: 40, cat: PC, desc: "Emulatori"}
- {id: 34, cat: PC, desc: "Student's Office"}
- {id: 5, cat: PC/Phone-Android, desc: "Android"}
- {id: 30, cat: PC/Phone-IOS, desc: "iOS / iPhone"}
- {id: 7, cat: PC/0day, desc: "Windows"}
- {id: 8, cat: PC, desc: "Linux"}
- {id: 9, cat: PC/Mac, desc: "Mac"}
- {id: 40, cat: PC, desc: "Emulatori"}
- {id: 34, cat: PC, desc: "Student's Office"}
# Books
- {id: 6, cat: Books/Ebook, desc: "Books"}
- {id: 45, cat: Books/Comics, desc: "Fumetti"}
- {id: 51, cat: Books/Ebook, desc: "Pdf"}
- {id: 33, cat: Books/Ebook, desc: "Romanzi"}
- {id: 26, cat: Books/Magazines, desc: "Edicola: Giornali/Quotidiani"}
- {id: 6, cat: Books/Ebook, desc: "Books"}
- {id: 45, cat: Books/Comics, desc: "Fumetti"}
- {id: 51, cat: Books/Ebook, desc: "Pdf"}
- {id: 33, cat: Books/Ebook, desc: "Romanzi"}
- {id: 26, cat: Books/Magazines, desc: "Edicola: Giornali/Quotidiani"}
# Games
- {id: 3, cat: PC/Games, desc: "Games PC"}
- {id: 27, cat: Console, desc: "Games Console"}
- {id: 41, cat: Console/Xbox, desc: "Games Xbox360"}
- {id: 43, cat: Console, desc: "Games Retro"}
- {id: 47, cat: Console/NDS, desc: "Games Nintendo"}
- {id: 3, cat: PC/Games, desc: "Games PC"}
- {id: 27, cat: Console, desc: "Games Console"}
- {id: 41, cat: Console/Xbox, desc: "Games Xbox360"}
- {id: 43, cat: Console, desc: "Games Retro"}
- {id: 47, cat: Console/NDS, desc: "Games Nintendo"}
# Music
- {id: 2, cat: Audio, desc: "Music"}
- {id: 48, cat: Audio/MP3, desc: "Music MP3"}
- {id: 49, cat: Audio, desc: "Radio Trasmissioni"}
- {id: 2, cat: Audio, desc: "Music"}
- {id: 48, cat: Audio/MP3, desc: "Music MP3"}
- {id: 49, cat: Audio, desc: "Radio Trasmissioni"}
# Movies
- {id: 17, cat: Movies/HD, desc: "Movie BDRip"}
- {id: 39, cat: Movies/HD, desc: "Movie BDRip TNT"}
- {id: 21, cat: Movies/Other, desc: "Movie Films"}
- {id: 11, cat: Movies/DVD, desc: "Movie DVD-R"}
- {id: 14, cat: Movies/HD, desc: "Movie 720p"}
- {id: 13, cat: Movies/HD, desc: "Movie 1080p"}
- {id: 15, cat: Movies/3D, desc: "Movie 3D"}
- {id: 25, cat: Movies/UHD, desc: "Movie UHD"}
- {id: 36, cat: Movies, desc: "Movie TNT"}
- {id: 24, cat: TV/SD, desc: "TV Show Standard"}
- {id: 19, cat: TV/HD, desc: "TV Show 1080p"}
- {id: 20, cat: TV/HD, desc: "TV Show 720"}
- {id: 50, cat: TV, desc: "TV Show TNT"}
- {id: 28, cat: TV/Anime, desc: "Anime"}
- {id: 29, cat: TV, desc: "Cartoons"}
- {id: 37, cat: TV/Sport, desc: "Sport"}
- {id: 35, cat: TV/Documentary, desc: "Documentari"}
- {id: 38, cat: Movies, desc: "Commedia"}
- {id: 46, cat: Movies, desc: "Movie Parodie"}
- {id: 17, cat: Movies/HD, desc: "Movie BDRip"}
- {id: 39, cat: Movies/HD, desc: "Movie BDRip TNT"}
- {id: 21, cat: Movies/Other, desc: "Movie Films"}
- {id: 11, cat: Movies/DVD, desc: "Movie DVD-R"}
- {id: 14, cat: Movies/HD, desc: "Movie 720p"}
- {id: 13, cat: Movies/HD, desc: "Movie 1080p"}
- {id: 15, cat: Movies/3D, desc: "Movie 3D"}
- {id: 25, cat: Movies/UHD, desc: "Movie UHD"}
- {id: 36, cat: Movies, desc: "Movie TNT"}
- {id: 24, cat: TV/SD, desc: "TV Show Standard"}
- {id: 19, cat: TV/HD, desc: "TV Show 1080p"}
- {id: 20, cat: TV/HD, desc: "TV Show 720"}
- {id: 50, cat: TV, desc: "TV Show TNT"}
- {id: 28, cat: TV/Anime, desc: "Anime"}
- {id: 29, cat: TV, desc: "Cartoons"}
- {id: 37, cat: TV/Sport, desc: "Sport"}
- {id: 35, cat: TV/Documentary, desc: "Documentari"}
- {id: 38, cat: Movies, desc: "Commedia"}
- {id: 46, cat: Movies, desc: "Movie Parodie"}
# Various
- {id: 4, cat: Other, desc: "Other"}
- {id: 23, cat: Other, desc: "Archive"}
- {id: 42, cat: Other, desc: "Disegni e Modelli"}
- {id: 16, cat: Other, desc: "V.I.P."}
- {id: 32, cat: Other, desc: "Premium"}
- {id: 4, cat: Other, desc: "Other"}
- {id: 23, cat: Other, desc: "Archive"}
- {id: 42, cat: Other, desc: "Disegni e Modelli"}
- {id: 16, cat: Other, desc: "V.I.P."}
- {id: 32, cat: Other, desc: "Premium"}
modes:
search: [q]

View File

@ -97,8 +97,8 @@ search:
- name: replace
args: ["https://via.placeholder.com/600x900", ""]
comments:
selector: a[href*="#comments"]
attribute: href
selector: a[href*="#comments"]
attribute: href
size:
selector: td:nth-last-child(4)
seeders:

View File

@ -448,7 +448,7 @@ login:
search:
paths:
# http://korsar.info/search.php?keywords=deux+moi&sr=topics&sf=titleonly&tracker_search=torrent
# http://korsar.info/search.php?keywords=deux+moi&sr=topics&sf=titleonly&tracker_search=torrent
- path: search.php
inputs:
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}2020{{end}}"

View File

@ -83,7 +83,7 @@ caps:
music-search: [q]
login:
# https://lesaloonv2-0.net/yupy_login.php
# https://lesaloonv2-0.net/yupy_login.php
path: yupy_login.php
method: form
form: form[action^="index.php?page=login"]
@ -145,7 +145,7 @@ search:
- name: regexp
args: "src=(.*?) "
date:
# 06/02/2019 18:19:28
# 06/02/2019 18:19:28
selector: td:nth-child(7)
filters:
- name: dateparse

View File

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

View File

@ -177,7 +177,7 @@ settings:
search:
paths:
#http://parnuxi.com/search.php?tracker_search=torrent&keywords=2020&terms=all&fp=1&author=&sc=1&sf=titleonly&sk=t&sd=d&sr=topics&st=0&ch=300&t=0&submit=%D0%9F%D0%BE%D0%B8%D1%81%D0%BA
#http://parnuxi.com/search.php?tracker_search=torrent&keywords=2020&terms=all&fp=1&author=&sc=1&sf=titleonly&sk=t&sd=d&sr=topics&st=0&ch=300&t=0&submit=%D0%9F%D0%BE%D0%B8%D1%81%D0%BA
- path: search.php
inputs:
tracker_search: torrent
@ -247,4 +247,3 @@ search:
uploadvolumefactor:
text: 1
# phpBB

View File

@ -711,20 +711,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

@ -59,7 +59,7 @@ login:
search:
paths:
# https://r3vuk.wtf/browse.php?c1=1&c24=1&search=&searchin=title&incldead=0
# https://r3vuk.wtf/browse.php?c1=1&c24=1&search=&searchin=title&incldead=0
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
@ -98,15 +98,15 @@ search:
files:
selector: td:nth-last-child(8)
date:
# Jul 4 2019 08:04 AM
# Jul 4 2019 08:04 AM
selector: td:nth-last-child(6):not(:contains("day"))
optional: true
filters:
- name: dateparse
args: "Jan 2 2006 03:04 PM"
date:
# Today 02:40 PM
# Yesterday 09:10 AM
# Today 02:40 PM
# Yesterday 09:10 AM
selector: td:nth-last-child(6):contains("day")
optional: true
size:

View File

@ -68,7 +68,7 @@ search:
selector: td:nth-of-type(2) a[href^="/torrent/"]
filters:
- name: re_replace
args: [".+\\/\\s([^а-яА-я\\/]+)\\s.*\\[(?:S*(\\d+))(?:x*(\\d+-*\\d*).*)*\\].*\\)\\s+(.+)\\s+(?:\\||от)\\s*(.+)","$1 - S$2E$3 - rus - $4 - $5"]
args: [".+\\/\\s([^а-яА-я\\/]+)\\s.*\\[(?:S*(\\d+))(?:x*(\\d+-*\\d*).*)*\\].*\\)\\s+(.+)\\s+(?:\\||от)\\s*(.+)", "$1 - S$2E$3 - rus - $4 - $5"]
- name: replace
args: ["E -", "E01-99 -"]
- name: replace
@ -87,10 +87,10 @@ search:
# 27 Окт 17
selector: td:nth-of-type(1)
filters:
# replace white spaces
# replace white spaces
- name: re_replace
args: ["[\\s]+", " "]
# replace month abbreviations
# replace month abbreviations
- name: replace
args: ["Янв", "Jan"]
- name: replace

View File

@ -45,7 +45,7 @@ search:
num: 50
rows:
# first selector is for the music page (recent uploads) and the second selector is for the search page
# first selector is for the music page (recent uploads) and the second selector is for the search page
selector: div[itemscope] > table.browse_albums, div.div-rellist
fields:
@ -69,7 +69,7 @@ search:
# dates come in two flavours:
# Russian, Spanish and English supported
date:
# fix for spanish yesterday, the time is not present
# fix for spanish yesterday, the time is not present
text: now
date:
# Today at 22:28:10
@ -117,10 +117,10 @@ search:
- name: dateparse
args: "2 January 2006"
size:
# search page does not have size.
# search page does not have size.
text: "500 MB"
size:
# but today's page can, if the content fixed-length string contains a title that is not too long.
# but today's page can, if the content fixed-length string contains a title that is not too long.
selector: tr:nth-child(2) td.descr meta
attribute: content
optional: true

View File

@ -158,7 +158,7 @@ search:
filters:
- name: timeago
date:
# 24/12/18 13:55
# 24/12/18 13:55
optional: true
selector: div.tgxtablecell:last-of-type small:contains(":")
filters:

View File

@ -96,8 +96,8 @@ search:
paths:
- path: "{{if .Config.filter-verified }}verified{{else}}search{{end}}{{ re_replace .Config.sort \"_\" \"\" }}"
inputs:
f: "{{ if .Keywords }}title: {{ .Keywords }}{{else}}{{end}}"
safe: "{{ if .Config.filter-safe }}1{{else}}0{{end}}"
f: "{{ if .Keywords }}title: {{ .Keywords }}{{else}}{{end}}"
safe: "{{ if .Config.filter-safe }}1{{else}}0{{end}}"
rows:
selector: "html body #wrap .results dl:has(a)"

View File

@ -1,3 +1,4 @@
---
id: trezzor
name: Trezzor
description: "Trezzor is a CZECH Private site for TV / MOVIES / GENERAL"

View File

@ -31,9 +31,9 @@ login:
password: "{{ .Config.password }}"
keeplogged: "1"
error:
- selector: .auth_form > .warning
message:
selector: ".auth_form > .warning"
- selector: .auth_form > .warning
message:
selector: ".auth_form > .warning"
test:
path: top10.php
@ -136,7 +136,7 @@ search:
attribute: title
filters:
- name: replace
args: [",",""]
args: [",", ""]
- name: append
args: " +07:00"
- name: dateparse

View File

@ -265,8 +265,8 @@ search:
title_anime:
text: "{{ .Result.title_phase3 }}"
filters:
# Sonarr need E in front of 3 digit number or else it thinks it is episode
# S01E10 for number 110 for example ==> enhancedAnime
# Sonarr need E in front of 3 digit number or else it thinks it is episode
# S01E10 for number 110 for example ==> enhancedAnime
- name: re_replace
args: ["(.*)(\\.| |\\-)(\\d{2,3})(\\.| |\\-)(.*)", "$1 E$3 $5"]
title:
@ -275,7 +275,7 @@ search:
selector: td:nth-child(2) > a
attribute: href
category:
# changed the catid into and hidden div as of last tracker problem
# changed the catid into and hidden div as of last tracker problem
selector: ":nth-child(1) > div.hidden"
comments:
optional: true