mirror of https://github.com/Jackett/Jackett
parent
fc88e0f547
commit
7727c82bea
|
@ -7,6 +7,17 @@
|
||||||
encoding: ISO-8859-2
|
encoding: ISO-8859-2
|
||||||
links:
|
links:
|
||||||
- https://btgigs.info/
|
- https://btgigs.info/
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: lang
|
||||||
|
type: checkbox
|
||||||
|
label: Add POLISH to title if is in polish category
|
||||||
|
default: false
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
|
@ -50,11 +61,13 @@
|
||||||
- selector: td.embedded:has(h2:contains("Error"))
|
- selector: td.embedded:has(h2:contains("Error"))
|
||||||
test:
|
test:
|
||||||
selector: a[href^="logout.php"]
|
selector: a[href^="logout.php"]
|
||||||
path: browse.php
|
path: index.php?news=1
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
|
error:
|
||||||
|
- selector: a.altlink
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Query.Keywords }}"
|
search: "{{ .Query.Keywords }}"
|
||||||
|
@ -65,8 +78,21 @@
|
||||||
rows:
|
rows:
|
||||||
selector: table[border="1"][cellpadding=5] > tbody > tr:has(a[href^="details.php?id="])
|
selector: table[border="1"][cellpadding=5] > tbody > tr:has(a[href^="details.php?id="])
|
||||||
fields:
|
fields:
|
||||||
title:
|
is_polish: #Workaround: https://github.com/Jackett/Jackett/issues/8068#issuecomment-610222414
|
||||||
|
text: ""
|
||||||
|
is_polish:
|
||||||
|
optional: true
|
||||||
|
selector: img[src*="cat_pl"]
|
||||||
|
attribute: src
|
||||||
|
title_phase1:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
|
title_polish:
|
||||||
|
text: "{{ .Result.title_phase1 }}"
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " POLISH"
|
||||||
|
title:
|
||||||
|
text: "{{ if and (.Config.lang) (.Result.is_polish) }}{{ .Result.title_polish }}{{else}}{{ .Result.title_phase1 }}{{end}}"
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
Loading…
Reference in New Issue