From 3d810393aeb44b1a561e96eb6f60beb7c20138c1 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 12 Aug 2025 06:28:53 +1200 Subject: [PATCH] ptorrents: size can be missing. resolves #16120 --- src/Jackett.Common/Definitions/ptorrents.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/ptorrents.yml b/src/Jackett.Common/Definitions/ptorrents.yml index 6342cf2b2..daf6b81fd 100644 --- a/src/Jackett.Common/Definitions/ptorrents.yml +++ b/src/Jackett.Common/Definitions/ptorrents.yml @@ -75,7 +75,9 @@ search: date: text: now size: - selector: a.overlay + selector: a.overlay:contains(" MB"), a.overlay:contains(" GB") + optional: true + default: 512MB filters: - name: regexp args: "^\\[(.+?)\\]"