summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g4f/Provider/You.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/g4f/Provider/You.py b/g4f/Provider/You.py
index 7816b07a..be4ab523 100644
--- a/g4f/Provider/You.py
+++ b/g4f/Provider/You.py
@@ -164,7 +164,9 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
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(),