用途:为指定城市或坐标、餐厅门店、餐段、币种、采集窗口和点餐模式构建匹配的菜单对比,用于竞品菜单广度与价格基准分析。
主要能力:通过 /doordash/search 与 /ubereats/search 发现门店;用 /chipotle/restaurants 解析附近 restaurant_number,再用 /chipotle/restaurant/menu 获取带价菜单;用 /mcdonalds/categories 与 /mcdonalds/menu 查看全国菜单广度(无价格)。支持按菜品、蛋白质/馅料、规格、件数、附带配菜/饮料和必选加料进行匹配,区分精确匹配、可比替代与未匹配项,并计算绝对差与百分比差。
使用方式:设置 CRAWLORA_API_KEY,运行 scripts/crawlora.sh,请求发往 https://api.crawlora.net/api/v1,通过 x-api-key 认证。示例:scripts/crawlora.sh /chipotle/restaurants latitude=37.7749 longitude=-122.4194 page_size=3;scripts/crawlora.sh /mcdonalds/categories country=us;scripts/crawlora.sh /doordash/search query=Chipotle latitude=37.7749 longitude=-122.4194。需阅读 reference/endpoints.md 了解端点、参数与限制。
限制:DoorDash 搜索为自取目录,其价格不可标为配送报价;Uber Eats 的 storeUuid 与 DoorDash 数字 ID 不可混用;全国目录与门店菜单范围不同;缺失价格为 null 而非零;菜单价不含税费、小费与最低起送影响,不能当作结账总额;菜单存在不代表销量或需求。遇到 401/403 停止,429 退避,5xx 重试一次。需按用户范围与额度限制请求,重复采集时保存查询、来源 ID、分页进度与时间戳。