diff --git a/plugins/genshin/cookies.py b/plugins/genshin/cookies.py index 8d42762..377a3a4 100644 --- a/plugins/genshin/cookies.py +++ b/plugins/genshin/cookies.py @@ -206,7 +206,7 @@ class SetUserCookies(Plugin.Conversation, BasePlugin.Conversation): ArkoWrapper(message.text.split(";")) .filter(lambda x: x != "") .map(lambda x: x.strip()) - .map(lambda x: ((y := x.split("="))[0], y[1])) + .map(lambda x: ((y := x.split("=", 1))[0], y[1])) ) cookie = {x[0]: x[1] for x in wrapped} cookies = self.parse_cookie(cookie)