From 2715272ebff49fa500c73d5500e367abb4d6119a Mon Sep 17 00:00:00 2001 From: leca Date: Tue, 20 Aug 2024 02:39:30 +0300 Subject: [PATCH] Pyaterochka parser module --- modules/pyaterochka.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 modules/pyaterochka.json diff --git a/modules/pyaterochka.json b/modules/pyaterochka.json new file mode 100644 index 0000000..55f5c3f --- /dev/null +++ b/modules/pyaterochka.json @@ -0,0 +1,6 @@ +{ + "name":"Пятёрочка", + "goods_name_regex": "([0-9]+ \t[\\%\\*a-zA-Z0-9\u0401\u0451\u0410-\u044f \\.\\-\/]{10,100})", + "goods_price_regex": "[0-9]{0,4}[^%]\\.[0-9]{2} ", + "goods_quantity_regex": "([0-9]{0,4}[^%]\\.[0-9]{3} )|(\t\\d )" +}