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