mirror of https://github.com/Jackett/Jackett
parent
52f3a75ee0
commit
c644ba215f
|
@ -187,8 +187,10 @@ search:
|
|||
selector: td:nth-child(4) span
|
||||
attribute: title
|
||||
filters:
|
||||
- name: append
|
||||
args: " -07:00" # PDT
|
||||
- name: dateparse
|
||||
args: "Jan 2 2006, 15:04"
|
||||
args: "Jan 2 2006, 15:04 -07:00"
|
||||
size:
|
||||
selector: td:nth-child(5)
|
||||
grabs:
|
||||
|
|
|
@ -60,8 +60,10 @@ search:
|
|||
selector: p.is-6 > a
|
||||
attribute: href
|
||||
filters:
|
||||
- name: append
|
||||
args: " -07:00" # PDT
|
||||
- name: dateparse
|
||||
args: "/2006/01/02"
|
||||
args: "/2006/01/02 -07:00"
|
||||
size:
|
||||
selector: span.is-size-6
|
||||
seeders:
|
||||
|
|
|
@ -719,15 +719,19 @@ search:
|
|||
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: append
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "15:04"
|
||||
args: "15:04 -07:00"
|
||||
date:
|
||||
# 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: append
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06"
|
||||
args: "15:04 2-01-06 -07:00"
|
||||
# Russian and Ukranian and English languages are supported
|
||||
grabs:
|
||||
selector: td[title^="Ответов"], td[title^="Відповідей"], td[title^="Replies"]
|
||||
|
|
|
@ -615,7 +615,7 @@ caps:
|
|||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
music-search: [q]
|
||||
book-search: [q]
|
||||
|
@ -642,7 +642,10 @@ settings:
|
|||
options:
|
||||
2: desc
|
||||
1: asc
|
||||
|
||||
- name: striprussian
|
||||
type: checkbox
|
||||
label: Strip Russian Letters
|
||||
default: true
|
||||
login:
|
||||
path: login.php
|
||||
method: post
|
||||
|
@ -650,8 +653,8 @@ login:
|
|||
"login_username": "{{ .Config.username }}"
|
||||
"login_password": "{{ .Config.password }}"
|
||||
autologin: 1
|
||||
login: "Вход"
|
||||
redirect: "/"
|
||||
login: Вход
|
||||
redirect: /
|
||||
error:
|
||||
- selector: table tr td div.alert
|
||||
test:
|
||||
|
@ -662,6 +665,13 @@ search:
|
|||
paths:
|
||||
- path: tracker.php
|
||||
method: post
|
||||
keywordsfilters:
|
||||
- name: diacritics
|
||||
args: replace
|
||||
- name: re_replace # S01 to Cезон 1
|
||||
args: ["(?i)\\bS0*(\\d+)\\b", "Сезон $1"]
|
||||
- name: re_replace # S01E01 to Сезон 1 Серии 1
|
||||
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "Сезон $1 Серии $2"]
|
||||
inputs:
|
||||
$raw: "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{else}}f[]=-1{{end}}"
|
||||
prev_a: 0
|
||||
|
@ -700,6 +710,16 @@ search:
|
|||
args: f
|
||||
title:
|
||||
selector: td a.genmed
|
||||
filters:
|
||||
# normalize to SXXEYY format
|
||||
- name: re_replace
|
||||
args: ["[\\:\\-\\/\\|]", " "]
|
||||
- name: re_replace
|
||||
args: ["(.+)\\s+[CСcс]езон\\s+(\\d+)\\s+[CСcс]ерии\\s+(\\d+)\\s+(\\d+)\\s+из\\s+\\d+(.+)", "$1 S$2E$3-$4 rus $5"]
|
||||
- name: re_replace
|
||||
args: ["(.+)\\s+[CСcс]езон\\s+(\\d+)\\s+[CСcс]ери[ия]\\s+(\\d+)\\s+из\\s+\\d+(.+)", "$1 S$2E$3 rus $4"]
|
||||
- name: re_replace
|
||||
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$0{{ end }}"]
|
||||
details:
|
||||
selector: td a.genmed
|
||||
attribute: href
|
||||
|
@ -714,15 +734,19 @@ search:
|
|||
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: append
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "15:04"
|
||||
args: "15:04 -07:00"
|
||||
date:
|
||||
# 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: append
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06"
|
||||
args: "15:04 2-01-06 -07:00"
|
||||
# Russian and Ukranian and English languages are supported
|
||||
grabs:
|
||||
selector: td[title^="Ответов"], td[title^="Відповідей"], td[title^="Replies"]
|
||||
|
|
|
@ -151,8 +151,10 @@ search:
|
|||
# 19/01/2019
|
||||
selector: td:nth-last-child(9)
|
||||
filters:
|
||||
- name: append
|
||||
args: " +00:00" # auto adjusted by site account profile
|
||||
- name: dateparse
|
||||
args: "02/01/2006"
|
||||
args: "02/01/2006 -07:00"
|
||||
size:
|
||||
selector: td:nth-last-child(8)
|
||||
seeders:
|
||||
|
|
|
@ -55,8 +55,10 @@ search:
|
|||
filters:
|
||||
- name: querystring
|
||||
args: date
|
||||
- name: append
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "2006-01-02"
|
||||
args: "2006-01-02 -07:00"
|
||||
size:
|
||||
selector: font[color="grey"]
|
||||
filters:
|
||||
|
|
|
@ -50,9 +50,9 @@ search:
|
|||
page: torrents
|
||||
$raw: "category={{ range .Categories }}{{.}};{{end}}"
|
||||
search: "{{ .Keywords }}"
|
||||
# 0 file 1 file&descr 2 descr 3 uploaders
|
||||
# 0 file, 1 file&descr, 2 descr, 3 uploaders
|
||||
option: 0
|
||||
# 0 all 1 active 2 dead
|
||||
# 0 all, 1 active, 2 dead
|
||||
active: 0
|
||||
order: "{{ .Config.sort }}"
|
||||
by: "{{ .Config.type }}"
|
||||
|
@ -88,8 +88,10 @@ search:
|
|||
filters:
|
||||
- name: regexp
|
||||
args: "AddDate:\\s*\u00a0\\s*(.+?)$"
|
||||
- name: append
|
||||
args: " -07:00" # PDT
|
||||
- name: dateparse
|
||||
args: "15:04:05 02/01/2006"
|
||||
args: "15:04:05 02/01/2006 -07:00"
|
||||
seeders:
|
||||
selector: td[valign="middle"] > p:nth-child(5)
|
||||
filters:
|
||||
|
|
|
@ -96,7 +96,7 @@ search:
|
|||
- path: search.php
|
||||
inputs:
|
||||
tracker_search: torrent
|
||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
|
||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||
terms: all
|
||||
author: ""
|
||||
sc: 1
|
||||
|
@ -209,8 +209,10 @@ search:
|
|||
args: ["ноя", "Nov"]
|
||||
- name: replace
|
||||
args: ["дек", "Dec"]
|
||||
- name: append
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "02 Jan 2006, 15:04"
|
||||
args: "02 Jan 2006, 15:04 -07:00"
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
|
|
@ -65,8 +65,10 @@ search:
|
|||
filters:
|
||||
- name: replace
|
||||
args: ["Добавлен: ", ""]
|
||||
- name: append
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05"
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
size:
|
||||
selector: td:nth-child(4)
|
||||
seeders:
|
||||
|
|
|
@ -109,8 +109,10 @@ search:
|
|||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d{1,2}-\\d{2}-\\d{4}, \\d{2}:\\d{2})"
|
||||
- name: append
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "2-01-2006, 15:04"
|
||||
args: "2-01-2006, 15:04 -07:00"
|
||||
size:
|
||||
text: "1 GB"
|
||||
seeders:
|
||||
|
|
|
@ -105,8 +105,10 @@ search:
|
|||
selector: td:nth-child(4) span
|
||||
attribute: title
|
||||
filters:
|
||||
- name: append
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05"
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
img.pro_free: 0
|
||||
|
|
|
@ -331,8 +331,10 @@ search:
|
|||
date:
|
||||
selector: td:nth-child(5)
|
||||
filters:
|
||||
- name: append
|
||||
args: " +01:00" # CET
|
||||
- name: dateparse
|
||||
args: "02/01/2006"
|
||||
args: "02/01/2006 -07:00"
|
||||
download:
|
||||
selector: a[href^="download.php"]
|
||||
attribute: href
|
||||
|
|
Loading…
Reference in New Issue