diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-04-11 19:10:03 +0200 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-04-11 19:10:03 +0200 |
commit | 57c856ef74ac4d62d27f443f7504b1698ffd757b (patch) | |
tree | 244f4f690b2372a8e7bcddfa22e56c57428d895a | |
parent | Update chat.v1.js (diff) | |
download | gpt4free-57c856ef74ac4d62d27f443f7504b1698ffd757b.tar gpt4free-57c856ef74ac4d62d27f443f7504b1698ffd757b.tar.gz gpt4free-57c856ef74ac4d62d27f443f7504b1698ffd757b.tar.bz2 gpt4free-57c856ef74ac4d62d27f443f7504b1698ffd757b.tar.lz gpt4free-57c856ef74ac4d62d27f443f7504b1698ffd757b.tar.xz gpt4free-57c856ef74ac4d62d27f443f7504b1698ffd757b.tar.zst gpt4free-57c856ef74ac4d62d27f443f7504b1698ffd757b.zip |
-rw-r--r-- | g4f/Provider/You.py | 4 |
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(), |