#serializeJSON(response)# ]*class="[^"]*groupHeader[^"]*"[^>]*>([^<]+)', pageHtml)> ([^<]+).*', '\1')> ]*class="[^"]*item[^"]*"[^>]*>.*?', pageHtml)> ([^<]+)', block)> ([^<]+).*', '\1')> ]*class="[^"]*description[^"]*"[^>]*>([^<]+)', block)> ([^<]+).*', '\1'))> ([^<]+)', pageHtml)> ([^<]+).*', '\1')> ]*>([^<]+)', pageHtml)> ]*>([^<]+).*', '\1')> ]*property=["'']og:(site_name|title)["''][^>]*content=["'']([^"'']+)["'']', pageHtml)> ]*content=["'']([^"'']+)["''][^>]*property=["'']og:(site_name|title)["'']', pageHtml)> ]*>.*', '')> ]*class="[^"]*(?:restaurant|location|brand)[^"]*"[^>]*>([^<]+)<', pageHtml)> ([^<]+)<.*', '\1')> ]*>([^<]+)', pageHtml)> ]*>([^<]+).*', '\1')> ]*class="[^"]*address[^"]*"[^>]*>([^<]+)]+>', pageHtml)> ([^<]+) )\s*\(?(\d{3})\)?[-.\s]?(\d{3})[-.\s]?(\d{4})', pageHtml)> ooStateJson2 = ""; ooStart2 = findNoCase("window.__OO_STATE__", pageHtml); if (ooStart2 > 0) { bs2 = find("{", pageHtml, ooStart2); if (bs2 > 0) { d2 = 0; inS2 = false; esc2 = false; be2 = 0; totalLen2 = len(pageHtml); for (i2 = bs2; i2 <= totalLen2; i2++) { c2 = mid(pageHtml, i2, 1); if (esc2) { esc2 = false; continue; } if (c2 == chr(92) && inS2) { esc2 = true; continue; } if (c2 == '"') { inS2 = !inS2; continue; } if (!inS2) { if (c2 == "{") d2 = d2 + 1; else if (c2 == "}") { d2 = d2 - 1; if (d2 == 0) { be2 = i2; break; } } } } if (be2 > 0) ooStateJson2 = mid(pageHtml, bs2, be2 - bs2 + 1); } } if (len(ooStateJson2)) { ooStateJson2 = replace(ooStateJson2, "&", "&", "all"); ooStateJson2 = replace(ooStateJson2, "<", "<", "all"); ooStateJson2 = replace(ooStateJson2, ">", ">", "all"); ooStateJson2 = replace(ooStateJson2, """, '"', "all"); } ]*>([^<]+)', otherHtml)> ]*>([^<]+).*', '\1')> otherOoJson = ""; otherOoStart = findNoCase("window.__OO_STATE__", otherHtml); if (otherOoStart > 0) { obs = find("{", otherHtml, otherOoStart); if (obs > 0) { od = 0; ois = false; oesc = false; obe = 0; otherLen = len(otherHtml); for (oi = obs; oi <= otherLen; oi++) { oc = mid(otherHtml, oi, 1); if (oesc) { oesc = false; continue; } if (oc == chr(92) && ois) { oesc = true; continue; } if (oc == '"') { ois = !ois; continue; } if (!ois) { if (oc == "{") od = od + 1; else if (oc == "}") { od = od - 1; if (od == 0) { obe = oi; break; } } } } if (obe > 0) otherOoJson = mid(otherHtml, obs, obe - obs + 1); } } if (len(otherOoJson)) { otherOoJson = replace(otherOoJson, "&", "&", "all"); otherOoJson = replace(otherOoJson, "<", "<", "all"); otherOoJson = replace(otherOoJson, ">", ">", "all"); otherOoJson = replace(otherOoJson, """, '"', "all"); } #serializeJSON(response)# #serializeJSON(response)# ([^<]+)', pageHtml)> ([^<]+)', '\1')> #serializeJSON(response)# ]+src=["'']([^"'']+)["''][^>]*>', menuPage.html)> ooStateJson = ""; ooStartPos = findNoCase("window.__OO_STATE__", pageHtml); if (ooStartPos > 0) { braceStart = find("{", pageHtml, ooStartPos); if (braceStart > 0) { depth = 0; inStr = false; esc = false; braceEnd = 0; totalLen = len(pageHtml); for (ci = braceStart; ci <= totalLen; ci++) { ch = mid(pageHtml, ci, 1); if (esc) { esc = false; continue; } if (ch == chr(92) && inStr) { esc = true; continue; } if (ch == '"') { inStr = !inStr; continue; } if (!inStr) { if (ch == "{") depth = depth + 1; else if (ch == "}") { depth = depth - 1; if (depth == 0) { braceEnd = ci; break; } } } } if (braceEnd > 0) { ooStateJson = mid(pageHtml, braceStart, braceEnd - braceStart + 1); } } } // Decode HTML entities from View Source (Chrome encodes & as & etc.) if (len(ooStateJson)) { ooStateJson = replace(ooStateJson, "&", "&", "all"); ooStateJson = replace(ooStateJson, "<", "<", "all"); ooStateJson = replace(ooStateJson, ">", ">", "all"); ooStateJson = replace(ooStateJson, """, '"', "all"); } ]*>([^<]+)', pageHtml)> ]*>([^<]+).*', '\1')> #serializeJSON(response)# ]*id=["'']__NEXT_DATA__["''][^>]*>([^<]+)', menuPage.html)> ]*>([^<]+)', '\1')> ]*type=["'']application/ld\+json["''][^>]*>([^<]+)', menuPage.html)> ]*>([^<]+)', '\1')> ]*>.*?", "", "all")> ]*>.*?", "", "all")> ", "", "all")> ]*>([^<]*)", combinedHtml)> ]*>([^<]*)", "\1")> ]*>([^<]*)", combinedHtml)> ]*>([^<]*)", "\1")> ]*>([^<]*)", combinedHtml)> ]*>([^<]*)", combinedHtml)> ]*>([^<]*)", combinedHtml)> ]*>", combinedHtml, scanPos)> ]*>", combinedHtml, scanPos)> ", combinedHtml, nextH2)> ]+>", "", "all")> ", combinedHtml, nextH3)> ]+>", "", "all")> #serializeJSON(response)# #serializeJSON(response)#