Merge pull request #1825 from hlohaus/ws

Fix You.com Provider
This commit is contained in:
H Lohaus 2024-04-12 15:24:07 +02:00 committed by GitHub
commit 35179fe843
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -164,7 +164,9 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
headers={ headers={
"Authorization": cls.get_auth(), "Authorization": cls.get_auth(),
"X-SDK-Client": cls.get_sdk(), "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={ json={
"dfp_telemetry_id": await get_dfp_telemetry_id(), "dfp_telemetry_id": await get_dfp_telemetry_id(),