Skip to content

Commit

Permalink
Update You.py (#1794)
Browse files Browse the repository at this point in the history
fixed issue: #1746
  • Loading branch information
AksLolCoding authored Apr 7, 2024
1 parent d327afc commit a5f7eeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion g4f/Provider/You.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ async def create_cookies(cls, client: StreamSession) -> Cookies:
"dfp_telemetry_id": await get_dfp_telemetry_id(),
"email": f"{user_uuid}@gmail.com",
"password": f"{user_uuid}#{user_uuid}",
"dfp_telemetry_id": f"{uuid.uuid4()}",
"session_duration_minutes": 129600
}
) as response:
Expand All @@ -193,4 +194,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"],
}
}

0 comments on commit a5f7eeb

Please sign in to comment.