Skip to content

Commit

Permalink
Merge pull request #1825 from hlohaus/ws
Browse files Browse the repository at this point in the history
Fix You.com Provider
  • Loading branch information
hlohaus authored Apr 12, 2024
2 parents b21bf9a + 57c856e commit 35179fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion g4f/Provider/You.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ async def create_cookies(cls, client: StreamSession) -> Cookies:
headers={
"Authorization": cls.get_auth(),
"X-SDK-Client": cls.get_sdk(),
"X-SDK-Parent-Host": cls.url
"X-SDK-Parent-Host": cls.url,
"Origin": "https://you.com",
"Referer": "https://you.com/"
},
json={
"dfp_telemetry_id": await get_dfp_telemetry_id(),
Expand Down

0 comments on commit 35179fe

Please sign in to comment.