mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
polishsource: add uhd category
delete 3d,dvd,bluray add config sort options
This commit is contained in:
@@ -12,9 +12,7 @@
|
|||||||
categorymappings:
|
categorymappings:
|
||||||
- {id: 12, cat: Movies/SD, desc: "Movies/SD"}
|
- {id: 12, cat: Movies/SD, desc: "Movies/SD"}
|
||||||
- {id: 11, cat: Movies/HD, desc: "Movies/HD"}
|
- {id: 11, cat: Movies/HD, desc: "Movies/HD"}
|
||||||
- {id: 45, cat: Movies/3D, desc: "Movies/3D"}
|
- {id: 46, cat: Movies/UHD, desc: "Movies/UHD"}
|
||||||
- {id: 4, cat: Movies/DVD, desc: "Movies/DVD"}
|
|
||||||
- {id: 43, cat: Movies/BluRay, desc: "Movies/BD"}
|
|
||||||
- {id: 10, cat: TV/SD, desc: "TV/SD"}
|
- {id: 10, cat: TV/SD, desc: "TV/SD"}
|
||||||
- {id: 39, cat: TV/HD, desc: "TV/HD"}
|
- {id: 39, cat: TV/HD, desc: "TV/HD"}
|
||||||
- {id: 8, cat: PC/Games, desc: "Games/PC"}
|
- {id: 8, cat: PC/Games, desc: "Games/PC"}
|
||||||
@@ -29,6 +27,30 @@
|
|||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "4"
|
||||||
|
options:
|
||||||
|
"4": "created"
|
||||||
|
"7": "seeders"
|
||||||
|
"5": "size"
|
||||||
|
"1": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login.php
|
||||||
method: form
|
method: form
|
||||||
@@ -45,34 +67,43 @@
|
|||||||
- selector: td.embedded:has(h2:contains("failed"))
|
- selector: td.embedded:has(h2:contains("failed"))
|
||||||
- selector: td.embedded:has(h2:contains("Error"))
|
- selector: td.embedded:has(h2:contains("Error"))
|
||||||
test:
|
test:
|
||||||
selector: a[href^="logout.php"]
|
|
||||||
path: browse.php
|
path: browse.php
|
||||||
|
selector: a[href^="logout.php"]
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Query.Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
incldead: "1"
|
# 0 onlyactive 1 all 2 onlydead
|
||||||
scene: "0"
|
incldead: 1
|
||||||
pl: "0"
|
# 0 all 1 scene 2 notscene 3 internal
|
||||||
|
scene: 0
|
||||||
|
# 0 all 1 Polish 2 non-Polish 4 subtitled
|
||||||
|
pl: 0
|
||||||
|
# subcat blank=all
|
||||||
sub: ""
|
sub: ""
|
||||||
search_in: "title"
|
# title both nfo
|
||||||
|
search_in: title
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table#restable > tbody > tr:has(a[href^="details.php?id="])
|
selector: table#restable > tbody > tr:has(a[href^="details.php?id="])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
details:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
attribute: href
|
|
||||||
category:
|
category:
|
||||||
selector: a[href^="?cat="]
|
selector: a[href^="?cat="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
|
title:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
details:
|
||||||
|
selector: a[href^="details.php?id="]
|
||||||
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="downloadssl.php?id="]
|
selector: a[href^="downloadssl.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
@@ -103,13 +134,6 @@
|
|||||||
imdb:
|
imdb:
|
||||||
optional: true
|
optional: true
|
||||||
selector: a[href*="www.imdb.com/title/tt"]
|
selector: a[href*="www.imdb.com/title/tt"]
|
||||||
grabs:
|
|
||||||
selector: td:nth-child(6)
|
|
||||||
filters:
|
|
||||||
- name: regexp
|
|
||||||
args: (\d+)
|
|
||||||
size:
|
|
||||||
selector: td:nth-child(5)
|
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(4)
|
selector: td:nth-child(4)
|
||||||
filters:
|
filters:
|
||||||
@@ -117,11 +141,18 @@
|
|||||||
args: " +00:00"
|
args: " +00:00"
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-0215:04:05 -07:00"
|
args: "2006-01-0215:04:05 -07:00"
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(5)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-child(6)
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: (\d+)
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(7)
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(8)
|
selector: td:nth-child(8)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
Reference in New Issue
Block a user