From a0cff7e61bcde56c65cf1900a5dda6e6124afebe Mon Sep 17 00:00:00 2001 From: "andrii.kovalenko" Date: Tue, 16 Jul 2024 22:09:18 +0300 Subject: [PATCH] feature/added-markdown: minor fixes --- README.md | 1 - scrapingant_client/client.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 1302e3e..5dbe177 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,6 @@ Main class of this library. * * * #### Common arguments -For: - ScrapingAntClient.general_request - ScrapingAntClient.general_request_async - ScrapingAntClient.markdown_request diff --git a/scrapingant_client/client.py b/scrapingant_client/client.py index ef5e865..c67023e 100644 --- a/scrapingant_client/client.py +++ b/scrapingant_client/client.py @@ -43,8 +43,7 @@ def _form_payload( browser: bool = True, return_page_source: Optional[bool] = None, ) -> Dict: - request_data = { - 'url': url} + request_data = {'url': url} if cookies is not None: request_data['cookies'] = cookies_list_to_string(cookies) if js_snippet is not None: