Zapomněl jsem na jídlo z burzy
This commit is contained in:
parent
d7d51cfc7f
commit
fbe3fd6149
1 changed files with 9 additions and 6 deletions
|
@ -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;", "");
|
||||
}
|
||||
|
|
Reference in a new issue