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,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;", "");
|
||||
|
|
Reference in a new issue