Skip to content

Commit

Permalink
feature/added-markdown: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
megabotan committed Jul 16, 2024
1 parent b91da1f commit a0cff7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Main class of this library.
* * *

#### Common arguments
For:
- ScrapingAntClient.general_request
- ScrapingAntClient.general_request_async
- ScrapingAntClient.markdown_request
Expand Down
3 changes: 1 addition & 2 deletions scrapingant_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a0cff7e

Please sign in to comment.