Skip to content

Dynamic menu extraction template#61

Open
aq17 wants to merge 5 commits intodevfrom
aq17/menu-dynamic-extraction-demo
Open

Dynamic menu extraction template#61
aq17 wants to merge 5 commits intodevfrom
aq17/menu-dynamic-extraction-demo

Conversation

@aq17
Copy link
Contributor

@aq17 aq17 commented Feb 13, 2026

Stagehand + Browserbase: Restaurant Menu Extractor

AT A GLANCE

  • Goal: Automate restaurant menu extraction from websites using AI-powered browser automation to scrape menu items, prices, descriptions, and categories.
  • Pattern Template: Demonstrates web scraping with Stagehand's observe/act/extract pattern for navigating complex restaurant websites and parsing menu structures.
  • Workflow: Stagehand navigates to restaurant website, finds menu links using observe, extracts structured data with Pydantic schemas, handles multi-section menus (lunch/dinner/drinks), and outputs JSON results.
  • Multi-Section Support: Automatically detects menu subsections (Lunch, Dinner, Happy Hour, etc.) and extracts each separately for comprehensive coverage.
  • Production-Ready: Includes retry logic, popup handling, logging, error recovery, and parallel processing capabilities for batch extraction.
  • Docs → Stagehand Act | Stagehand Observe | Stagehand Extract

@aq17 aq17 requested a review from jay-sahnan February 13, 2026 02:08
@aq17
Copy link
Contributor Author

aq17 commented Feb 13, 2026

@jay-sahnan still a WIP, few things that need to be tested and cleaned up – would love to sync early next week when it's ready to get some eyes (+converted to TS) and then hopefully merged 🙏🏼

@aq17 aq17 requested a review from Kylejeong2 February 17, 2026 18:58
@aq17
Copy link
Contributor Author

aq17 commented Feb 17, 2026

@jay-sahnan @Kylejeong2 @shrey150 this is good to go on my end – feedback on what's needed to get this template approved would be great!

@aq17 aq17 requested a review from shrey150 February 17, 2026 21:34
@aq17 aq17 changed the title Dynamic menu scraper template Dynamic menu extraction template Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant