[Bug] [high priority] Dining data changing after page load #165

Open
opened 2025-02-02 19:33:56 +00:00 by cirex-web · 1 comment
cirex-web commented 2025-02-02 19:33:56 +00:00 (Migrated from github.com)

Expected Behavior

Simplest solution? Probably just simulate an actual browser and wait a few seconds before scraping the html.

First few ms on page load:
Image

Actual data is populated later
Image

We can see this discrepancy in the network tab as well (pretty hard to reproduce, but it happens!)

Image

Steps to Reproduce

.

Device Information

Desktop/Mobile: Desktop

### Expected Behavior Simplest solution? Probably just simulate an actual browser and wait a few seconds before scraping the html. First few ms on page load: <img width="692" alt="Image" src="https://github.com/user-attachments/assets/603cb31e-93e3-402b-8f80-177ede85678c" /> Actual data is populated later <img width="681" alt="Image" src="https://github.com/user-attachments/assets/acf37442-aac6-4ff8-87af-ef4a92b5f076" /> We can see this discrepancy in the network tab as well (pretty hard to reproduce, but it happens!) <img width="1019" alt="Image" src="https://github.com/user-attachments/assets/bb66b109-159a-4350-b52d-64bc36cb1bd6" /> ### Steps to Reproduce . ### Device Information Desktop/Mobile: Desktop
cirex-web commented 2025-02-16 01:51:44 +00:00 (Migrated from github.com)

several people have commented that

  • True Burger is displayed as "closes in 48 hours" at 1-2AM in the morning
  • ABP is wrong most days

First bug might be something wrong with time parsing. Not sure...

several people have commented that - True Burger is displayed as "closes in 48 hours" at 1-2AM in the morning - ABP is wrong most days First bug might be something wrong with time parsing. Not sure...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/dining-api#165
No description provided.