@@ -52,8 +52,8 @@ All public classes, methods and their parameters can be inspected in this API re
5252
5353Main class of this library.
5454
55- | Param | Type |
56- | --- | --- |
55+ | Param | Type |
56+ | ------- | --------------------- |
5757| token | <code >string</code > |
5858
5959* * *
@@ -62,17 +62,17 @@ Main class of this library.
6262
6363https://docs.scrapingant.com/request-response-format#available-parameters
6464
65- | Param | Type | Default |
66- | --- | --- | --- |
67- | url | <code >string</code > | |
68- | cookies | <code >List[ Cookie] </code > | None |
69- | headers | <code >List[ Dict[ str, str]] </code > | None |
70- | js_snippet | <code >string</code > | None |
71- | proxy_type | <code >ProxyType</code > | datacenter |
72- | proxy_country | <code >str</code > | None |
73- | return_text | <code >boolean</code > | False |
74- | wait_for_selector | <code >str</code > | None |
75- | browser | <code >boolean</code > | True |
65+ | Param | Type | Default |
66+ | ------------------- | ----------------------------------- | ------------ |
67+ | url | <code >string</code > | |
68+ | cookies | <code >List[ Cookie] </code > | None |
69+ | headers | <code >List[ Dict[ str, str]] </code > | None |
70+ | js_snippet | <code >string</code > | None |
71+ | proxy_type | <code >ProxyType</code > | datacenter |
72+ | proxy_country | <code >str</code > | None |
73+ | return_text | <code >boolean</code > | False |
74+ | wait_for_selector | <code >str</code > | None |
75+ | browser | <code >boolean</code > | True |
7676
7777** IMPORTANT NOTE:** <code >js_snippet</code > will be encoded to Base64 automatically by the ScrapingAnt client library.
7878
@@ -82,9 +82,9 @@ https://docs.scrapingant.com/request-response-format#available-parameters
8282
8383Class defining cookie. Currently it supports only name and value
8484
85- | Param | Type |
86- | --- | --- |
87- | name | <code >string</code > |
85+ | Param | Type |
86+ | ------- | --------------------- |
87+ | name | <code >string</code > |
8888| value | <code >string</code > |
8989
9090* * *
@@ -93,23 +93,24 @@ Class defining cookie. Currently it supports only name and value
9393
9494Class defining response from API.
9595
96- | Param | Type |
97- | --- | --- |
98- | content | <code >string</code > |
99- | cookies | <code >List[ Cookie] </code > |
100- | status_code | <code >int</code > |
96+ | Param | Type |
97+ | ------------- | --------------------------- |
98+ | content | <code >string</code > |
99+ | cookies | <code >List[ Cookie] </code > |
100+ | status_code | <code >int</code > |
101101
102102## Exceptions
103103
104104` ScrapingantClientException ` is base Exception class, used for all errors.
105105
106- | Exception | Reason |
107- | --- | --- |
108- | ScrapingantInvalidTokenException | The API token is wrong or you have exceeded the API calls request limit
109- | ScrapingantInvalidInputException | Invalid value provided. Please, look into error message for more info |
110- | ScrapingantInternalException | Something went wrong with the server side code. Try again later or contact ScrapingAnt support |
111- | ScrapingantSiteNotReachableException | The requested URL is not reachable. Please, check it locally |
112- | ScrapingantDetectedException | The anti-bot detection system has detected the request. Please, retry or change the request settings. |
106+ | Exception | Reason |
107+ | --------------------------------------| ------------------------------------------------------------------------------------------------------------------------------|
108+ | ScrapingantInvalidTokenException | The API token is wrong or you have exceeded the API calls request limit |
109+ | ScrapingantInvalidInputException | Invalid value provided. Please, look into error message for more info |
110+ | ScrapingantInternalException | Something went wrong with the server side code. Try again later or contact ScrapingAnt support |
111+ | ScrapingantSiteNotReachableException | The requested URL is not reachable. Please, check it locally |
112+ | ScrapingantDetectedException | The anti-bot detection system has detected the request. Please, retry or change the request settings. |
113+ | ScrapingantTimeoutException | Got timeout while communicating with Scrapingant servers. Check your network connection. Please try later or contact support |
113114
114115* * *
115116
0 commit comments