@@ -52,8 +52,8 @@ All public classes, methods and their parameters can be inspected in this API re
52
52
53
53
Main class of this library.
54
54
55
- | Param | Type |
56
- | --- | --- |
55
+ | Param | Type |
56
+ | ------- | --------------------- |
57
57
| token | <code >string</code > |
58
58
59
59
* * *
@@ -62,17 +62,17 @@ Main class of this library.
62
62
63
63
https://docs.scrapingant.com/request-response-format#available-parameters
64
64
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 |
76
76
77
77
** IMPORTANT NOTE:** <code >js_snippet</code > will be encoded to Base64 automatically by the ScrapingAnt client library.
78
78
@@ -82,9 +82,9 @@ https://docs.scrapingant.com/request-response-format#available-parameters
82
82
83
83
Class defining cookie. Currently it supports only name and value
84
84
85
- | Param | Type |
86
- | --- | --- |
87
- | name | <code >string</code > |
85
+ | Param | Type |
86
+ | ------- | --------------------- |
87
+ | name | <code >string</code > |
88
88
| value | <code >string</code > |
89
89
90
90
* * *
@@ -93,23 +93,24 @@ Class defining cookie. Currently it supports only name and value
93
93
94
94
Class defining response from API.
95
95
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 > |
101
101
102
102
## Exceptions
103
103
104
104
` ScrapingantClientException ` is base Exception class, used for all errors.
105
105
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 |
113
114
114
115
* * *
115
116
0 commit comments