Commit Graph

65 Commits

Author SHA1 Message Date
Omar Sánchez Pizarro
06e763c7ab as 2026-01-19 20:45:19 +01:00
Omar Sánchez Pizarro
7dad3700e0 Remove favorites.json file as part of the transition to Redis for managing favorite articles. 2026-01-19 20:42:40 +01:00
Omar Sánchez Pizarro
a316844576 Refactor favorites management to use Redis
- Removed local favorites.json file and related file handling in the code.
- Implemented Redis caching for managing favorite articles, including methods to set, get, and check favorites.
- Updated TelegramManager and server API to interact with Redis for favorite operations.
- Added search functionality for articles in Redis, enhancing user experience.
- Adjusted frontend components to support searching and displaying articles from Redis.
2026-01-19 20:42:11 +01:00
Omar Sánchez Pizarro
9939c4d9ed Enhance caching mechanism and logging configuration
- Updated .gitignore to include additional IDE and OS files, as well as log and web build directories.
- Expanded config.sample.yaml to include cache configuration options for memory and Redis.
- Modified wallamonitor.py to load cache configuration and initialize ArticleCache.
- Refactored QueueManager to utilize ArticleCache for tracking notified articles.
- Improved logging setup to dynamically determine log file path based on environment.
2026-01-19 19:42:12 +01:00
Omar Sánchez Pizarro
b32b0b2e09 Implement WorkerConditions class for article filtering and refactor Worker to utilize it 2025-11-17 21:29:03 +01:00
Omar Sánchez Pizarro
66fc4523d5 add initial config
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-13 13:25:11 +02:00
Omar Sánchez Pizarro
f9dc8e689d sample for workers
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-13 13:05:59 +02:00
Omar Sánchez Pizarro
f9274c4e57 remove chat_id
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-13 13:03:45 +02:00
Omar Sánchez Pizarro
c532d0803d remove sensitive data
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-13 13:00:41 +02:00
Omar Sánchez Pizarro
4111f57564 add abstraction ob platform and article + vinted
"

Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 14:58:27 +02:00
Omar Sánchez Pizarro
b5178f415b queue to telegram retry
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 13:31:37 +02:00
Omar Sánchez Pizarro
60db36ba99 fix remove notified
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 11:40:32 +02:00
Omar Sánchez Pizarro
cf29b69733 fix
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 11:00:53 +02:00
Omar Sánchez Pizarro
fa79e53950 inline keyboard and move to channel with threads
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 02:45:55 +02:00
Omar Sánchez Pizarro
967f7e52a2 update path
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 00:29:55 +02:00
Omar Sánchez Pizarro
7e5219ed72 update readme
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 00:18:33 +02:00
Omar Sánchez Pizarro
0245b603b2 feat: default values, general item excludes, images, queueManager to manage multi worker messaging to telegram to prevent too many connections
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
2025-10-10 00:03:44 +02:00
danielhuici
08c1577b2a Add compatibility with new Wallapop API changes 2025-03-21 17:24:58 +01:00
Daniel Huici
6842664fba Minor 2024-11-21 18:11:11 +02:00
danielhuici
705da20ac5 Add requirements.txt 2024-11-04 11:34:11 +01:00
danielhuici
be01796760 Add working args.json example 2024-11-04 11:34:11 +01:00
danielhuici
d366222c27 Refactoring 2024-11-04 11:34:11 +01:00
danielhuici
ab8b506ea2 Migrate to concurrent futures 2024-11-04 11:34:11 +01:00
Daniel Huici
b3e5a1b0a1 Update README.md 2024-10-29 22:05:31 +02:00
Daniel Huici
5d6278ba9d Update README.md 2024-10-29 22:04:19 +02:00
danielhuici
9f28b791b4 Fix: bot not notifying new articles + minor refactor 2024-10-29 19:54:17 +01:00
Kifixo
eba5f90920 Fix empty wallapop responses (user-agent) 2024-02-28 20:56:22 +01:00
Kifixo
24b1940e2a Merge branch 'main' of https://github.com/Kifixo/Wallamonitor into main 2024-02-28 20:37:04 +01:00
Kifixo
f2416ee35a Pending changes update 2024-02-28 20:33:44 +01:00
Kifixo
6032b33874 Telegram handler fixes 2024-02-13 12:52:10 +01:00
Daniel Huici
9a97668e91 Update README.md 2024-02-13 00:10:13 +01:00
Kifixo
619be0d82b update .gitignore 2024-02-13 00:02:29 +01:00
Kifixo
48cc74d0b2 minor fixes 2024-02-13 00:00:43 +01:00
Kifixo
685518bbcd Major refactoring 2024-02-12 23:59:16 +01:00
Daniel
ccf8eac06a Merge pull request #5 from mr-brune/patch-3
Update args.json
2023-04-17 14:15:04 +02:00
Daniel
28b19f78bf Merge pull request #4 from mr-brune/patch-2
Add word includer
2023-04-17 14:14:20 +02:00
mr-brune
049718836d Update args.json 2023-04-17 07:57:07 +02:00
mr-brune
d05be17060 Add word includer
need to modify args.json too
2023-04-14 08:10:57 +02:00
kifixo
cefa2aec20 Improving word ad excluder 2022-12-19 23:04:42 +01:00
Daniel
eb70dbe31b Merge pull request #1 from mr-brune/patch-1
Create .env
2022-08-10 13:15:01 +02:00
Daniel
55b8bf8dfb Merge pull request #2 from mr-brune/patch-2
Update args.json
2022-08-10 13:14:40 +02:00
mr-brune
ae8b493272 Update args.json 2022-08-08 10:09:25 +02:00
mr-brune
7addb7e527 Create .env 2022-08-08 10:08:19 +02:00
kifixo
c52a6dea0b Update README.md 2022-06-29 22:32:15 +02:00
kifixo
4eafcefa28 Minor fixes to make it work 2022-06-29 22:20:47 +02:00
Daniel
8030217b9b Hot fix 2022-03-07 14:18:51 +01:00
Daniel
031bb043ff Enable distance support 2022-03-07 14:17:01 +01:00
Daniel
67abc19108 Update worker.py 2022-03-07 14:11:19 +01:00
Daniel Huici Meseguer
39a973f69b Fix exclude words 2022-02-07 14:49:34 +00:00
Kifixo
1654cac207 Remove .env 2021-10-23 17:31:16 +02:00