Zapomněl jsem na jídlo z burzy

This commit is contained in:
Matyáš Caras 2022-04-05 18:05:50 +02:00
parent d7d51cfc7f
commit fbe3fd6149

View file

@ -303,8 +303,9 @@ class Canteen {
}
} else {
// jinak nastavíme URL pro burzu
var match = RegExp(r"(?<=ajaxOrder\(this, ')(.+?)(?=').+?do burzy")
.firstMatch(o);
var match =
RegExp(r"(?<=ajaxOrder\(this, ')(.+?)(?=').+?(do burzy)|(z burzy)")
.firstMatch(o);
if (match != null) {
burzaUrl = match.group(1)!.replaceAll("amp;", "");
}
@ -367,8 +368,9 @@ class Canteen {
}
} else {
// jinak nastavíme URL pro burzu
var match = RegExp(r"(?<=ajaxOrder\(this, ')(.+?)(?=').+?do burzy")
.firstMatch(novy);
var match =
RegExp(r"(?<=ajaxOrder\(this, ')(.+?)(?=').+?(do burzy)|(z burzy)")
.firstMatch(novy);
if (match != null) {
burzaUrl = match.group(1)!.replaceAll("amp;", "");
}
@ -426,8 +428,9 @@ class Canteen {
}
} else {
// jinak nastavíme URL pro burzu
var match = RegExp(r"(?<=ajaxOrder\(this, ')(.+?)(?=').+?do burzy")
.firstMatch(novy);
var match =
RegExp(r"(?<=ajaxOrder\(this, ')(.+?)(?=').+?(do burzy)|(z burzy)")
.firstMatch(novy);
if (match != null) {
burzaUrl = match.group(1)!.replaceAll("amp;", "");
}