Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

fix(asyncFetcher): A typo made async version of put do post request instead

Karim shoairc0d912d16ab1
diff --git a/scrapling/fetchers.py b/scrapling/fetchers.py
index ef7a1b6..eb8d1ad 100644
--- a/scrapling/fetchers.py
+++ b/scrapling/fetchers.py
@@ -143,7 +143,7 @@ class AsyncFetcher(Fetcher):
: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(