From 209f9d511a7d72fa561a5d1c7af47496d8e19089 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Tue, 7 Dec 2021 01:18:05 +0000 Subject: [PATCH] the-devils-lounge: update site layout also add date and poster --- .../Definitions/the-devils-lounge.yml | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/Jackett.Common/Definitions/the-devils-lounge.yml b/src/Jackett.Common/Definitions/the-devils-lounge.yml index 2d22a33e7..ff7ea4655 100644 --- a/src/Jackett.Common/Definitions/the-devils-lounge.yml +++ b/src/Jackett.Common/Definitions/the-devils-lounge.yml @@ -144,15 +144,26 @@ search: args: cat title: selector: td a[href^="torrents-details.php?id="] - attribute: title details: selector: td a[href^="torrents-details.php?id="] attribute: href download: selector: td a[href^="torrents-details.php?id="] attribute: href + poster: + selector: td a[href^="torrents-details.php?id="] + attribute: onmouseover + filters: + - name: regexp + args: "img\\ssrc=\\\\'(http.+?)\\\\'" date: - text: now + selector: td a[href^="torrents-details.php?id="] + attribute: onmouseover + filters: + - name: regexp + args: "Date\\sAdded\\s:(\\d{2}-\\d{2}-\\d{4})" + - name: dateparse + args: "02-01-2006" size: selector: td:nth-child(6) seeders: @@ -166,16 +177,12 @@ search: - name: replace args: [",", ""] description: - selector: td:last-of-type:contains("E") - filters: - - name: replace - args: ["E", "External"] - - name: replace - args: ["L", "Local"] + selector: td:last-of-type img + attribute: title downloadvolumefactor: case: img[src$="/images/free.gif"]: 0 - "td:last-of-type:contains(\"E\")": 0 # all external torrents are free + td:last-of-type img[title="Extern"]: 0 # all external torrents are free "*": 1 uploadvolumefactor: text: 1