From 7aa90025d32186b718a261c24ac09fa686aad2cd Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 23 Jul 2022 16:45:22 +1200 Subject: [PATCH] jav-torrent: date selector is gone pull year/month from the img url --- src/Jackett.Common/Definitions/jav-torrent.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/jav-torrent.yml b/src/Jackett.Common/Definitions/jav-torrent.yml index 410ad9de9..a7b9360f8 100644 --- a/src/Jackett.Common/Definitions/jav-torrent.yml +++ b/src/Jackett.Common/Definitions/jav-torrent.yml @@ -39,12 +39,15 @@ search: selector: img attribute: data-src date: - selector: p.is-6 a + selector: img + attribute: data-src filters: + - name: regexp + args: (/\d{4}/\d{2}/) - name: append args: " -07:00" # PDT - name: dateparse - args: "Jan. 02, 2006 -07:00" + args: "/2006/01/ -07:00" size: selector: span.is-size-6 seeders: