Skip to content

Commit

Permalink
fix(asyncFetcher): A typo made async version of put do post request i…
Browse files Browse the repository at this point in the history
…nstead

Awkward moment
  • Loading branch information
D4Vinci committed Jan 30, 2025
1 parent 7882cf2 commit c0d912d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapling/fetchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async def put(
:return: A `Response` object that is the same as `Adaptor` object except it has these added attributes: `status`, `reason`, `cookies`, `headers`, and `request_headers`
"""
adaptor_arguments = tuple(self.adaptor_arguments.items())
response_object = await StaticEngine(url, proxy, stealthy_headers, follow_redirects, timeout, retries=retries, adaptor_arguments=adaptor_arguments).async_post(**kwargs)
response_object = await StaticEngine(url, proxy, stealthy_headers, follow_redirects, timeout, retries=retries, adaptor_arguments=adaptor_arguments).async_put(**kwargs)
return response_object

async def delete(
Expand Down

0 comments on commit c0d912d

Please sign in to comment.