Improve UberEatsBot new code obtaining

This commit is contained in:
AlberLC
2023-03-12 05:18:41 +01:00
parent 52e981fc58
commit 4ebcade424

View File

@@ -96,6 +96,8 @@ class UberEatsBot(MultiBot, ABC):
if (code := await get_code()) != last_code:
break
await asyncio.sleep(0.5)
else:
code = last_code
codes.append(code)
chat.ubereats['cookies'][i] = await context.cookies('https://www.myunidays.com')