🐛 fix menu for mamafood
This commit is contained in:
@@ -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=> {
|
||||
|
||||
Reference in New Issue
Block a user