9 Commits

Author SHA1 Message Date
5901e9c1a1 Refactor scraper.py to improve code readability by removing unnecessary blank lines and ensuring consistent formatting. 2025-12-15 14:18:52 +01:00
5939f2bd04 Refactor RedisManager methods to enhance job caching and error handling; implement sent and error cache management for improved job processing flow. 2025-12-15 14:14:16 +01:00
e2e1bc442e Refactor RedisManager methods for improved error handling and logging; streamline job validation process by ensuring all compulsory fields are checked before processing. 2025-12-15 10:34:41 +01:00
87c67265f8 Refactor environment variable handling in scraper; remove default values for RabbitMQ and Redis configurations. Enhance job validation by checking for all compulsory fields before processing. 2025-12-15 09:37:52 +01:00
2c5b42b7bd Refactor job tracking to use job ID instead of job URL in RedisManager methods 2025-12-15 09:08:27 +01:00
b13d14d26d Enhance job handling in scraper and sender modules:
- Update fetch timeout in StealthyFetcher for improved reliability.
- Refactor LLMJobRefiner to create and manage Quelah Jobs table in PostgreSQL.
- Modify RedisManager to track sent job counts for jobs.csv and adjust deduplication logic.
- Implement job URL-based deduplication across scraper and sender.
2025-12-12 21:14:37 +01:00
c370de83d5 Refactor scraper and sender modules for improved Redis management and SSL connection handling
- Introduced RedisManager class in scraper.py for centralized Redis operations including job tracking and caching.
- Enhanced job scraping logic in MultiPlatformJobScraper to support multiple platforms (Ashby, Lever, Greenhouse).
- Updated browser initialization and context management to ensure better resource handling.
- Improved error handling and logging throughout the scraping process.
- Added SSL connection parameters management in a new ssl_connection.py module for RabbitMQ connections.
- Refactored sender.py to utilize RedisManager for job deduplication and improved logging mechanisms.
- Enhanced CSV processing logic in sender.py with better validation and error handling.
- Updated connection parameters for RabbitMQ to support SSL configurations based on environment variables.
2025-12-12 13:48:26 +01:00
94d87943de Refactor environment variable handling in AshbyJobScraper and Sender classes; remove fallback values for RabbitMQ and Redis configurations. 2025-12-10 13:26:47 +01:00
762846cb4a Add AshbyJobScraper and Sender classes for job scraping and message sending; implement Redis caching and RabbitMQ integration. 2025-12-10 12:02:43 +01:00