diff --git a/src/Jackett.Common/Definitions/gay-torrentsorg.yml b/src/Jackett.Common/Definitions/gay-torrentsorg.yml index b6722efa8..a9b463ddd 100644 --- a/src/Jackett.Common/Definitions/gay-torrentsorg.yml +++ b/src/Jackett.Common/Definitions/gay-torrentsorg.yml @@ -108,9 +108,15 @@ details: selector: a[href^="details.php?id="] attribute: href + banner: + optional: true + selector: a.screenshot + attribute: rel grabs: - selector: div:nth-child(3) > div:nth-child(1) > div:nth-child(2) > a + selector: div.downloadTimes filters: + - name: replace + args: ["No downloads yet", "0"] - name: regexp args: ([\d,]+) comments: @@ -120,20 +126,20 @@ selector: a[href^="download.php?id="] attribute: href size: - selector: div:nth-child(3) > div:nth-child(3) > div + selector: div.size seeders: - selector: div:nth-child(3) > div:nth-child(3) > div:nth-child(2) > div:nth-child(1) > a + selector: div.downloadPeers div:nth-child(1) > a leechers: - selector: div:nth-child(3) > div:nth-child(3) > div:nth-child(2) > div:nth-child(2) > a + selector: div.downloadPeers > div:nth-child(2) > a date: - selector: div:nth-child(4) > div:nth-child(3) > div + selector: div.date filters: - name: re_replace args: ["on (\\d{2}:\\d{2}) (\\d{2})-([a-zA-Z]{3})-(\\d{4})", "$2 $3 $4 $1"] - name: append args: " +01:00" - name: dateparse - args: "02 Jan 06 15:14 -07:00" + args: "02 Jan 2006 15:04 -07:00" downloadvolumefactor: case: "div:nth-child(2) > div:nth-child(3) > a:contains(\"FREE!\")": 0