mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
assorted: conform to yaml standards by avoiding duplicate keys #11917
This commit is contained in:
@@ -111,19 +111,21 @@ search:
|
|||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
title:
|
title_default:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
title:
|
title_optional:
|
||||||
optional: true
|
optional: true
|
||||||
selector: a[title][href^="details.php?id="]
|
selector: a[title][href^="details.php?id="]
|
||||||
attribute: title
|
attribute: title
|
||||||
|
title:
|
||||||
|
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="download.php?id="]
|
selector: a[href^="download.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
date:
|
date_elapsed:
|
||||||
# time type: time elapsed (default)
|
# time type: time elapsed (default)
|
||||||
selector: td:nth-child(4) > span[title]
|
selector: td:nth-child(4) > span[title]
|
||||||
attribute: title
|
attribute: title
|
||||||
@@ -133,7 +135,7 @@ search:
|
|||||||
args: " +07:00" # ICT
|
args: " +07:00" # ICT
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
date:
|
date_added:
|
||||||
# time added
|
# time added
|
||||||
selector: td:nth-child(4):not(:has(span))
|
selector: td:nth-child(4):not(:has(span))
|
||||||
optional: true
|
optional: true
|
||||||
@@ -142,6 +144,8 @@ search:
|
|||||||
args: " +07:00" # ICT
|
args: " +07:00" # ICT
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-0215:04:05 -07:00"
|
args: "2006-01-0215:04:05 -07:00"
|
||||||
|
date:
|
||||||
|
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
seeders:
|
seeders:
|
||||||
|
@@ -93,12 +93,14 @@ search:
|
|||||||
selector: table.torrents > tbody > tr:has(table.torrentname)
|
selector: table.torrents > tbody > tr:has(table.torrentname)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title_default:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
title:
|
title_optional:
|
||||||
optional: true
|
optional: true
|
||||||
selector: a[title][href^="details.php?id="]
|
selector: a[title][href^="details.php?id="]
|
||||||
attribute: title
|
attribute: title
|
||||||
|
title:
|
||||||
|
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||||
category:
|
category:
|
||||||
selector: a[href^="?cat="]
|
selector: a[href^="?cat="]
|
||||||
attribute: href
|
attribute: href
|
||||||
@@ -114,7 +116,7 @@ search:
|
|||||||
imdb:
|
imdb:
|
||||||
selector: div.imdb_100 > a
|
selector: div.imdb_100 > a
|
||||||
attribute: href
|
attribute: href
|
||||||
date:
|
date_elapsed:
|
||||||
# time type: time elapsed (default)
|
# time type: time elapsed (default)
|
||||||
selector: td:nth-child(4) > span[title]
|
selector: td:nth-child(4) > span[title]
|
||||||
attribute: title
|
attribute: title
|
||||||
@@ -124,7 +126,7 @@ search:
|
|||||||
args: " +08:00" # CST
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
date:
|
date_added:
|
||||||
# time added
|
# time added
|
||||||
selector: td:nth-child(4):not(:has(span))
|
selector: td:nth-child(4):not(:has(span))
|
||||||
optional: true
|
optional: true
|
||||||
@@ -133,6 +135,8 @@ search:
|
|||||||
args: " +08:00" # CST
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-0215:04:05 -07:00"
|
args: "2006-01-0215:04:05 -07:00"
|
||||||
|
date:
|
||||||
|
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
seeders:
|
seeders:
|
||||||
|
Reference in New Issue
Block a user