Skip to content

Commit

Permalink
Refactor post method in SoupPage class to include impersonation option
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedmamdouh22 committed Jan 6, 2025
1 parent a28a47a commit 1340d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/harambe/contrib/soup/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class SoupResponseWithStatus:

async def post(self, url: str, data: dict[str, Any], **kwargs: Any) -> Any:
res = await self._session.post(
url, headers=self._extra_headers, data=data, **kwargs
url, headers=self._extra_headers, data=data, **kwargs, impersonate="chrome"
)
if self._tracer:
self._tracer.log_request(res)
Expand Down

0 comments on commit 1340d31

Please sign in to comment.