-
-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Describe the bug
Bot ignores the apartment as users set limit is something greater than 0. Bot detects the apartment size as 0 m2
To Reproduce
Run the bot when apartment is available
Environment
MAC OS - 14.4.1
Additional context
[29.04.2024 - 16:17] [main.py:76] [INFO] Checking for internet connection 🔎
[29.04.2024 - 16:17] [main.py:84] [SUCCESS] Online 🟢
[29.04.2024 - 16:17] [io_operations.py:24] [INFO] Loading WBM config ⚙️
[29.04.2024 - 16:17] [main.py:107] [INFO] Connecting to 'https://www.wbm.de/wohnungen-berlin/angebote/' 🔗
[29.04.2024 - 16:17] [webDriverOperations.py:252] [SUCCESS] Cookies have been accepted 🍪
[29.04.2024 - 16:17] [webDriverOperations.py:380] [INFO] Looking for flats 👀
[29.04.2024 - 16:17] [webDriverOperations.py:387] [SUCCESS] Found 2 flat(s) in total 💡
[29.04.2024 - 16:17] [webDriverOperations.py:438] [WARNING] Ignoring flat '3-ZIMMER WOHNUNG IN MITTE WBS 140' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:17] [webDriverOperations.py:438] [WARNING] Ignoring flat '2-ZIMMER-WOHNUNG IN MITTE WBS 160/180/220' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:17] [webDriverOperations.py:61] [ERROR] Failed to switch page, last page reached ❌
[29.04.2024 - 16:18] [webDriverOperations.py:504] [INFO] Reloading main page 🔄
[29.04.2024 - 16:18] [webDriverOperations.py:380] [INFO] Looking for flats 👀
[29.04.2024 - 16:18] [webDriverOperations.py:387] [SUCCESS] Found 2 flat(s) in total 💡
[29.04.2024 - 16:18] [webDriverOperations.py:438] [WARNING] Ignoring flat '3-ZIMMER WOHNUNG IN MITTE WBS 140' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:18] [webDriverOperations.py:438] [WARNING] Ignoring flat '2-ZIMMER-WOHNUNG IN MITTE WBS 160/180/220' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:18] [webDriverOperations.py:61] [ERROR] Failed to switch page, last page reached ❌
[29.04.2024 - 16:19] [webDriverOperations.py:504] [INFO] Reloading main page 🔄
[29.04.2024 - 16:19] [webDriverOperations.py:380] [INFO] Looking for flats 👀
[29.04.2024 - 16:19] [webDriverOperations.py:387] [SUCCESS] Found 2 flat(s) in total 💡
[29.04.2024 - 16:19] [webDriverOperations.py:438] [WARNING] Ignoring flat '3-ZIMMER WOHNUNG IN MITTE WBS 140' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:19] [webDriverOperations.py:438] [WARNING] Ignoring flat '2-ZIMMER-WOHNUNG IN MITTE WBS 160/180/220' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:20] [webDriverOperations.py:61] [ERROR] Failed to switch page, last page reached ❌
[29.04.2024 - 16:21] [webDriverOperations.py:504] [INFO] Reloading main page 🔄
[29.04.2024 - 16:21] [webDriverOperations.py:380] [INFO] Looking for flats 👀
[29.04.2024 - 16:21] [webDriverOperations.py:387] [SUCCESS] Found 2 flat(s) in total 💡
[29.04.2024 - 16:21] [webDriverOperations.py:438] [WARNING] Ignoring flat '3-ZIMMER WOHNUNG IN MITTE WBS 140' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:21] [webDriverOperations.py:438] [WARNING] Ignoring flat '2-ZIMMER-WOHNUNG IN MITTE WBS 160/180/220' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:21] [webDriverOperations.py:61] [ERROR] Failed to switch page, last page reached ❌
[29.04.2024 - 16:22] [webDriverOperations.py:504] [INFO] Reloading main page 🔄
[29.04.2024 - 16:22] [webDriverOperations.py:380] [INFO] Looking for flats 👀
[29.04.2024 - 16:22] [webDriverOperations.py:387] [SUCCESS] Found 2 flat(s) in total 💡
[29.04.2024 - 16:22] [webDriverOperations.py:438] [WARNING] Ignoring flat '3-ZIMMER WOHNUNG IN MITTE WBS 140' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:22] [webDriverOperations.py:438] [WARNING] Ignoring flat '2-ZIMMER-WOHNUNG IN MITTE WBS 160/180/220' because the size doesn't match our criteria --> Flat Size: 0.0 m² | User wants it above: 40 m² 🙈
[29.04.2024 - 16:22] [webDriverOperations.py:61] [ERROR] Failed to switch page, last page reached ❌
^CTraceback (most recent call last):
File "/Users/UsmanTatla/Desktop/wbmbot_v2-main/wbmbot_v2/main.py", line 134, in
main()
File "/Users/UsmanTatla/Desktop/wbmbot_v2-main/wbmbot_v2/main.py", line 111, in main
webDriverOperations.process_flats(
File "/Users/UsmanTatla/Desktop/wbmbot_v2-main/wbmbot_v2/helpers/webDriverOperations.py", line 500, in process_flats
time.sleep(int(refresh_internal) * 60)
KeyboardInterrupt
UsmanTatla@MacBookPro wbmbot_v2-main %
