🐛 fix menu for mamafood

This commit is contained in:
2026-08-18 10:14:39 +02:00
parent da55eaecb0
commit 91064931b5
2 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ async function fetchHTML(url){
async function menickoMamafoodbistro(){
const url= "https://www.mamafoodbistro.cz/#poledne";
const { document }= await fetchHTML(url);
const menicko= document.querySelectorAll("section")[2].getElementsByClassName("sqs-html-content")[1];
const menicko= Array.from(document.querySelectorAll("section")).map(el=> el.getElementsByClassName("sqs-html-content")[1]).find(el=> el && el.textContent.includes("Polévka"));
const dny= {};
const section= el=> el.getElementsByClassName("sqsrte-text-color--accent");
const textContent= el=> {