@spider-cloud/spider-client 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/spiderwebai.js +1 -1
- package/package.json +1 -1
package/dist/spiderwebai.js
CHANGED
|
@@ -119,7 +119,7 @@ class Spider {
|
|
|
119
119
|
* @returns {Promise<any>} The crawl state data.
|
|
120
120
|
*/
|
|
121
121
|
async getCrawlState(url, params = {}) {
|
|
122
|
-
return this._apiPost("crawl
|
|
122
|
+
return this._apiPost("crawl/status", { url: url, ...params });
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Retrieves the number of credits available on the account.
|