fix(spiders): corrections and removal of dead code

This commit is contained in:
Karim shoair
2026-02-15 04:25:32 +02:00
parent b8b9a7f864
commit 02b11c535e
4 changed files with 4 additions and 7 deletions
-2
View File
@@ -85,8 +85,6 @@ class Request:
body = post_data.getvalue()
elif isinstance(post_data, bytes):
body = post_data
elif post_data is None:
body = b""
else:
post_data = self._session_kwargs.get("json", {})
body = orjson.dumps(post_data) if post_data else b""