From 3d40ee1fef1151a72b5f254ddd23baabc0f75491 Mon Sep 17 00:00:00 2001 From: AksLolCoding <95454315+AksLolCoding@users.noreply.github.com> Date: Sat, 6 Apr 2024 17:43:44 -0400 Subject: [PATCH] Update You.py fixed issue: https://github.com/xtekky/gpt4free/issues/1746 --- g4f/Provider/You.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/g4f/Provider/You.py b/g4f/Provider/You.py index 9b04036723..33fa43a866 100644 --- a/g4f/Provider/You.py +++ b/g4f/Provider/You.py @@ -179,6 +179,7 @@ async def create_cookies(cls, client: StreamSession) -> Cookies: json={ "email": f"{user_uuid}@gmail.com", "password": f"{user_uuid}#{user_uuid}", + "dfp_telemetry_id": f"{uuid.uuid4()}", "session_duration_minutes": 129600 } ) as response: @@ -189,4 +190,4 @@ async def create_cookies(cls, client: StreamSession) -> Cookies: 'stytch_session_jwt': session["session_jwt"], 'ydc_stytch_session': session["session_token"], 'ydc_stytch_session_jwt': session["session_jwt"], - } \ No newline at end of file + }