From 37caa7c9bc0441d3a7245479f12b8f81fb3b559d Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Sat, 14 Mar 2026 13:37:40 -0700 Subject: [PATCH] Auto-detect ordering platform links for food photos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Playwright now follows menu sub-page links (brunch, lunch, dinner, etc.) AND detects ordering platform links (order.online, toasttab, grubhub, etc.) on restaurant websites. Visits ordering pages to scrape item-image pairs, then fuzzy-matches them to menu items extracted from the main site. This gives us complete menus from the restaurant's own website plus food photos from their ordering platform — best of both worlds. Co-Authored-By: Claude Opus 4.6 --- api/setup/analyzeMenuUrl.cfm | 52 ++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/api/setup/analyzeMenuUrl.cfm b/api/setup/analyzeMenuUrl.cfm index 954dc09..4020fd2 100644 --- a/api/setup/analyzeMenuUrl.cfm +++ b/api/setup/analyzeMenuUrl.cfm @@ -1,6 +1,6 @@ - + @@ -1044,7 +1044,7 @@ - + @@ -1059,6 +1059,19 @@ + + + + + + + + + + + + + @@ -2745,6 +2758,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +