Commit Graph

11 Commits

Author SHA1 Message Date
Norbert Maciaszek
f09b58fb63 Integrate Playwright for improved web scraping by launching a headless browser, enhancing product data retrieval with better error handling and dynamic content loading. Update logging for price saving confirmation. 2025-11-20 20:33:04 +01:00
Norbert Maciaszek
a25ab727b9 Add console log for first run completion in price comparison function to enhance debugging and monitoring. 2025-11-20 20:02:18 +01:00
Norbert Maciaszek
bf60325fac Add initial price notifications for products and adjust cron schedule to run every 15 minutes. Implement first run logic to send initial prices. 2025-11-20 19:54:29 +01:00
Norbert Maciaszek
63bae4f805 Refactor product ID retrieval to dynamically fetch from API instead of hardcoding values, enhancing flexibility for future updates. 2025-11-16 19:22:16 +01:00
Norbert Maciaszek
72ba9aae20 Refactor price monitoring to work exclusively with ceneo.pl, removing unused selectors and browser automation. Update product comparison logic to match by name and include shop information in notifications. 2025-11-16 18:40:36 +01:00
Norbert Maciaszek
1f41be62f1 Update cron schedule to run at the top of the hour and set timezone to Europe/Warsaw 2025-11-15 22:16:27 +01:00
Norbert Maciaszek
a64edaf22f Initialize productsPrice.json if it doesn't exist and update log message to Polish 2025-11-15 20:36:05 +01:00
Norbert Maciaszek
1559e4ccc9 Add logging for price checking and execute scheduled task immediately 2025-11-15 20:13:38 +01:00
Norbert Maciaszek
b62389085f Remove headless option from Chromium launch in init function 2025-11-15 20:10:16 +01:00
Norbert Maciaszek
beb1cf7bdc Add sendMessage function for Discord notifications 2025-11-15 20:06:29 +01:00
Norbert Maciaszek
a3114d9f49 init project 2025-11-15 19:58:58 +01:00