working app
This commit is contained in:
parent
8e69e30387
commit
3057cda8d3
12 changed files with 708 additions and 232 deletions
39
README.md
39
README.md
|
|
@ -156,19 +156,32 @@ Ensure all dependencies are installed and the environment is configured correctl
|
|||
## Workflow Diagram
|
||||
|
||||
```mermaid
|
||||
graph TD
|
||||
A[Start] --> B[Fetch Listings]
|
||||
B --> C{New Listings?}
|
||||
C -->|Yes| D[Log to CSV]
|
||||
C -->|Yes| E[Send Telegram Notification]
|
||||
C -->|Yes| F{Autopilot Enabled?}
|
||||
F -->|Yes| G[Auto-Apply to Listings]
|
||||
F -->|No| H[Save to Applications.json]
|
||||
C -->|No| I[End]
|
||||
D --> I
|
||||
E --> I
|
||||
G --> H
|
||||
H --> I
|
||||
flowchart TD
|
||||
A([Start]) --> B[Fetch Listings]
|
||||
B --> C[Load Previous Listings]
|
||||
C --> D[Deduplicate: Find New Listings]
|
||||
D --> E{Any New Listings?}
|
||||
E -- No --> Z1([Sleep & Wait])
|
||||
E -- Yes --> F[Log New Listings to CSV]
|
||||
F --> G[Save Current Listings]
|
||||
G --> H[Check Autopilot State]
|
||||
H -- Off --> I[Send Telegram Notification (No Apply)]
|
||||
H -- On --> J[Attempt Auto-Apply to Each New Listing]
|
||||
J --> K{Application Success?}
|
||||
K -- Yes --> L[Log Success, Save to applications.json]
|
||||
K -- No --> M[Log Failure, Save to applications.json]
|
||||
L --> N[Send Telegram Notification (Success)]
|
||||
M --> O[Send Telegram Notification (Failure)]
|
||||
N --> P([Sleep & Wait])
|
||||
O --> P
|
||||
I --> P
|
||||
Z1 --> B
|
||||
P --> B
|
||||
%% Details for error/debugging
|
||||
J --> Q{Handler Error?}
|
||||
Q -- Yes --> R[Save Screenshot/HTML for Debug]
|
||||
R --> M
|
||||
Q -- No --> K
|
||||
```
|
||||
|
||||
This diagram illustrates the workflow of the bot, from fetching listings to logging, notifying, and optionally applying to new listings.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue