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Apocalypse@users.noreply.github.com> Date: Fri, 18 Aug 2023 22:05:09 +0200 Subject: [PATCH] yggtorrent & yggcookie: switch to unix date and other misc updates (#14644) --- src/Jackett.Common/Definitions/yggcookie.yml | 32 ++----------------- src/Jackett.Common/Definitions/yggtorrent.yml | 32 ++----------------- 2 files changed, 6 insertions(+), 58 deletions(-) diff --git a/src/Jackett.Common/Definitions/yggcookie.yml b/src/Jackett.Common/Definitions/yggcookie.yml index 442bca405..44a2f096c 100644 --- a/src/Jackett.Common/Definitions/yggcookie.yml +++ b/src/Jackett.Common/Definitions/yggcookie.yml @@ -435,34 +435,12 @@ search: selector: td:nth-child(2) > a attribute: href category: - selector: ":nth-child(1) > div.hidden" + selector: td:nth-child(1) > div.hidden download: text: "{{ .Config.sitelink }}engine/download_torrent?id={{ .Result._id }}" date: - selector: td:nth-child(5) - filters: - - name: replace - args: ["il y a ", ""] - - name: replace - args: [" jours", " days"] - - name: replace - args: [" jour", " day"] - - name: replace - args: [" heures", " hours"] - - name: replace - args: [" heure", " hour"] - - name: replace - args: [" semaines", " weeks"] - - name: replace - args: [" semaine", " week"] - - name: replace - args: [" mois", " month"] - - name: replace - args: [" ans", " years"] - - name: replace - args: [" an", " year"] - - name: append - args: " ago" + # unix + td:nth-child(5) > div.hidden size: selector: td:nth-child(6) filters: @@ -472,12 +450,8 @@ search: selector: td:nth-child(7) seeders: selector: td:nth-child(8) - optional: true - default: 0 leechers: selector: td:nth-child(9) - optional: true - default: 0 downloadvolumefactor: text: 1 uploadvolumefactor: diff --git a/src/Jackett.Common/Definitions/yggtorrent.yml b/src/Jackett.Common/Definitions/yggtorrent.yml index 3728c757b..7b5d64e07 100644 --- a/src/Jackett.Common/Definitions/yggtorrent.yml +++ b/src/Jackett.Common/Definitions/yggtorrent.yml @@ -439,34 +439,12 @@ search: selector: td:nth-child(2) > a attribute: href category: - selector: ":nth-child(1) > div.hidden" + selector: td:nth-child(1) > div.hidden download: text: "{{ .Config.sitelink }}engine/download_torrent?id={{ .Result._id }}" date: - selector: td:nth-child(5) - filters: - - name: replace - args: ["il y a ", ""] - - name: replace - args: [" jours", " days"] - - name: replace - args: [" jour", " day"] - - name: replace - args: [" heures", " hours"] - - name: replace - args: [" heure", " hour"] - - name: replace - args: [" semaines", " weeks"] - - name: replace - args: [" semaine", " week"] - - name: replace - args: [" mois", " month"] - - name: replace - args: [" ans", " years"] - - name: replace - args: [" an", " year"] - - name: append - args: " ago" + # unix + selector: td:nth-child(5) > div.hidden size: selector: td:nth-child(6) filters: @@ -476,12 +454,8 @@ search: selector: td:nth-child(7) seeders: selector: td:nth-child(8) - optional: true - default: 0 leechers: selector: td:nth-child(9) - optional: true - default: 0 downloadvolumefactor: text: 1 uploadvolumefactor: