diff --git a/src/Jackett.Common/Definitions/piratbit.yml b/src/Jackett.Common/Definitions/piratbit.yml index 3bc9cd2f3..7806764d7 100644 --- a/src/Jackett.Common/Definitions/piratbit.yml +++ b/src/Jackett.Common/Definitions/piratbit.yml @@ -657,72 +657,30 @@ - name: querystring args: f size: - selector: td div a.dLink - filters: - - name: re_replace - args: ["\u2193", ""] # down arrow + selector: td > u seeders: selector: td.seedmed leechers: selector: td.leechmed # Russian and Ukranian and English languages are supported grabs: - optional: true - selector: td[title^="Ответов"] - grabs: - optional: true - selector: td[title^="Відповідей"] - grabs: - optional: true - selector: td[title^="Replies"] + selector: td[title^="Ответов"], td[title^="Відповідей"], td[title^="Replies"] # 2 date flavours for 3 languages date: # 15:04 optional: true - selector: td[title="Добавлен"] p:first-of-type:not(:contains("-")) + selector: td[title="Добавлен"] p:first-of-type:not(:contains("-")), td[title="Доданий"] p:first-of-type:not(:contains("-")), td[title="Added"] p:first-of-type:not(:contains("-")) filters: - name: dateparse args: "15:04" date: # 15:04 24-02-19 optional: true - selector: td[title="Добавлен"] p:first-of-type:contains("-") - filters: - - name: dateparse - args: "15:04 2-01-06" - date: - # 15:04 - optional: true - selector: td[title="Доданий"] p:first-of-type:not(:contains("-")) - filters: - - name: dateparse - args: "15:04" - date: - # 15:04 24-02-19 - optional: true - selector: td[title="Доданий"] p:first-of-type:contains("-") - filters: - - name: dateparse - args: "15:04 2-01-06" - date: - # 15:04 - optional: true - selector: td[title="Added"] p:first-of-type:not(:contains("-")) - filters: - - name: dateparse - args: "15:04" - date: - # 15:04 24-02-19 - optional: true - selector: td[title="Added"] p:first-of-type:contains("-") + selector: td[title="Добавлен"] p:first-of-type:contains("-"), td[title="Доданий"] p:first-of-type:contains("-"), td[title="Added"] p:first-of-type:contains("-") filters: - name: dateparse args: "15:04 2-01-06" downloadvolumefactor: - case: - "span.isgold": "0" - "span.issilver": "0.5" - "*": "1" + text: 0 uploadvolumefactor: - case: - "*": "1" + text: 1 diff --git a/src/Jackett.Common/Definitions/piratbitl.yml b/src/Jackett.Common/Definitions/piratbitl.yml index ec0090039..5eb305a13 100644 --- a/src/Jackett.Common/Definitions/piratbitl.yml +++ b/src/Jackett.Common/Definitions/piratbitl.yml @@ -669,64 +669,26 @@ - name: querystring args: f size: - selector: td div a.dLink - filters: - - name: re_replace - args: ["\u2193", ""] # down arrow + selector: td > u seeders: selector: td.seedmed leechers: selector: td.leechmed # Russian and Ukranian and English languages are supported grabs: - optional: true - selector: td[title^="Ответов"] - grabs: - optional: true - selector: td[title^="Відповідей"] - grabs: - optional: true - selector: td[title^="Replies"] + selector: td[title^="Ответов"], td[title^="Відповідей"], td[title^="Replies"] # 2 date flavours for 3 languages date: # 15:04 optional: true - selector: td[title="Добавлен"] p:first-of-type:not(:contains("-")) + selector: td[title="Добавлен"] p:first-of-type:not(:contains("-")), td[title="Доданий"] p:first-of-type:not(:contains("-")), td[title="Added"] p:first-of-type:not(:contains("-")) filters: - name: dateparse args: "15:04" date: # 15:04 24-02-19 optional: true - selector: td[title="Добавлен"] p:first-of-type:contains("-") - filters: - - name: dateparse - args: "15:04 2-01-06" - date: - # 15:04 - optional: true - selector: td[title="Доданий"] p:first-of-type:not(:contains("-")) - filters: - - name: dateparse - args: "15:04" - date: - # 15:04 24-02-19 - optional: true - selector: td[title="Доданий"] p:first-of-type:contains("-") - filters: - - name: dateparse - args: "15:04 2-01-06" - date: - # 15:04 - optional: true - selector: td[title="Added"] p:first-of-type:not(:contains("-")) - filters: - - name: dateparse - args: "15:04" - date: - # 15:04 24-02-19 - optional: true - selector: td[title="Added"] p:first-of-type:contains("-") + selector: td[title="Добавлен"] p:first-of-type:contains("-"), td[title="Доданий"] p:first-of-type:contains("-"), td[title="Added"] p:first-of-type:contains("-") filters: - name: dateparse args: "15:04 2-01-06"