mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
byrutor: update download, row, and size selectors. resolves #13301
This commit is contained in:
@@ -256,7 +256,7 @@ settings: []
|
|||||||
|
|
||||||
download:
|
download:
|
||||||
selectors:
|
selectors:
|
||||||
- selector: a.itemtop_games
|
- selector: a.itemdown_games
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
||||||
search:
|
search:
|
||||||
@@ -282,7 +282,8 @@ search:
|
|||||||
resorder: desc
|
resorder: desc
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: div.short_search
|
# results without sizes are just pre-release announcements
|
||||||
|
selector: div.short_search:has(div.shor_subtitles span:nth-child(2):contains(" "))
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
@@ -318,9 +319,7 @@ search:
|
|||||||
text: 1
|
text: 1
|
||||||
leechers:
|
leechers:
|
||||||
text: 1
|
text: 1
|
||||||
size:
|
size_rus:
|
||||||
text: 0B
|
|
||||||
size:
|
|
||||||
selector: div.shor_subtitles span:nth-child(2):contains("Б")
|
selector: div.shor_subtitles span:nth-child(2):contains("Б")
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
@@ -332,6 +331,11 @@ search:
|
|||||||
args: ["МБ", "MB"]
|
args: ["МБ", "MB"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["КБ", "KB"]
|
args: ["КБ", "KB"]
|
||||||
|
size_eng:
|
||||||
|
selector: div.shor_subtitles span:nth-child(2):contains("B")
|
||||||
|
optional: true
|
||||||
|
size:
|
||||||
|
text: "{{ if or .Result.size_rus .Result.size_eng }}{{ or .Result.size_rus .Result.size_eng }}{{ else }}0 B{{ end }}"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 0
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
|
Reference in New Issue
Block a user