From 5286b2cdc75e5e7779a59ae95fd3a4b470ea3548 Mon Sep 17 00:00:00 2001 From: estromenko Date: Fri, 31 Oct 2025 21:43:01 +0300 Subject: [PATCH] Add filter for personal skill messages in vacancy collector --- .../commands/collect_vacancies_from_telegram_messages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vacancies/main/management/commands/collect_vacancies_from_telegram_messages.py b/vacancies/main/management/commands/collect_vacancies_from_telegram_messages.py index 305fdde..a96c2b8 100644 --- a/vacancies/main/management/commands/collect_vacancies_from_telegram_messages.py +++ b/vacancies/main/management/commands/collect_vacancies_from_telegram_messages.py @@ -15,7 +15,8 @@ WHERE timestamp >= now() - INTERVAL 30 DAY 'требования', 'обязанности', 'условия', 'компания', 'офис', 'удаленно', 'гибкий график', 'полный день', 'частичная занятость', 'резюме', 'собеседование', 'junior', 'middle', 'senior' - ]) >= 5 AND position(message, 'О себе') = 0 AND position(message, 'Обо мне') = 0 AND position(message, '#ищу') = 0 + ]) >= 5 AND position(message, 'О себе') = 0 AND position(message, 'Обо мне') = 0 + AND position(message, '#ищу') = 0 AND position(message, 'умею') = 0 AND id NOT IN %(exist_points)s """