thesceneplace: fix freeleech row selector. resolves #11691

also add 2x > 10x uploadvolumefactor cases
This commit is contained in:
ilike2burnthing 2021-05-08 06:32:20 +01:00 committed by GitHub
parent d34dbcb626
commit c2797e132e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -100,7 +100,7 @@ search:
# does not support imdbid search and does not return imdb link in results
rows:
selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.freeleech }}:has(img[src=\"images/freeleech.gif\"]){{ else }}{{ end }}"
selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.freeleech }}:has(img[src=\"images/freeleech.gif\"]){{ else }}{{ end }}{{ if .Config.freeleech }}, table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):has(img[src=\"images/gold.gif\"]){{ else }}{{ end }}"
fields:
category:
@ -151,7 +151,17 @@ search:
img[src="images/bronze.gif"]: 0.75
"*": 1
uploadvolumefactor:
text: 1
case:
img[src="images/2x.gif"]: 2
img[src="images/3x.gif"]: 3
img[src="images/4x.gif"]: 4
img[src="images/5x.gif"]: 5
img[src="images/6x.gif"]: 6
img[src="images/7x.gif"]: 7
img[src="images/8x.gif"]: 8
img[src="images/9x.gif"]: 9
img[src="images/10x.gif"]: 10
"*": 1
minimumratio:
text: 1.0
minimumseedtime: