Skip to content

ZARA Parser products and notification to Telegram channels

Notifications You must be signed in to change notification settings

daradan/zara_parser

Repository files navigation

ZARA Parser

You can see how the script works here:

The script scrapes (parses) the ZARA sites and adds the product information to the database. The next time it runs, it checks the product, and if the price has changed, it adds the new price to the database. If the price has dropped by 15% or less, it sends to the appropriate Telegram feeds.

Installation and setup

Clone repositories

https://github.com/daradan/zara_parser.git

Installing libraries

pip install -r requirements.txt

Create file .env and fill in your data

TG_TOKEN=...
TG_CHANNEL_W=...
TG_CHANNEL_M=...
TG_CHANNEL_K=...
TG_CHANNEL_ERROR=...
USER_AGENT=...

Парсер ZARA

Работу скрипта можно посмотреть тут:

Скрипт скрейпит (парсит) сайты ZARA и добавляет в БД информацию о товаре. При следующем запуске проверяет продукт, и в случае изменения цены добавляет новую цену в БД. Если цена снизилась на 15% и меньше, то отправляет на соответствующие Telegram-каналы.

Установка и настройка

Клонируем репозитории

https://github.com/daradan/zara_parser.git

Устанавливаем библиотеки

pip install -r requirements.txt

Создаем файл .env и заполняем свои данные

TG_TOKEN=...
TG_CHANNEL_W=...
TG_CHANNEL_M=...
TG_CHANNEL_K=...
TG_CHANNEL_ERROR=...
USER_AGENT=...