From c2797e132eeb2cfaa682ccbc55357fd16e3d7e34 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sat, 8 May 2021 06:32:20 +0100 Subject: [PATCH] thesceneplace: fix freeleech row selector. resolves #11691 also add 2x > 10x uploadvolumefactor cases --- src/Jackett.Common/Definitions/thesceneplace.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/thesceneplace.yml b/src/Jackett.Common/Definitions/thesceneplace.yml index 3d6f5943b..a44fbda0d 100644 --- a/src/Jackett.Common/Definitions/thesceneplace.yml +++ b/src/Jackett.Common/Definitions/thesceneplace.yml @@ -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: