apify 3.0.0-beta.9 → 3.0.1
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/README.md +8 -12
- package/actor.d.ts +136 -138
- package/actor.d.ts.map +1 -1
- package/actor.js +162 -164
- package/actor.js.map +1 -1
- package/configuration.d.ts +168 -0
- package/configuration.d.ts.map +1 -0
- package/configuration.js +184 -0
- package/configuration.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +6 -0
- package/index.js.map +1 -1
- package/index.mjs +4 -0
- package/key_value_store.d.ts +17 -0
- package/key_value_store.d.ts.map +1 -0
- package/key_value_store.js +26 -0
- package/key_value_store.js.map +1 -0
- package/package.json +22 -17
- package/platform_event_manager.d.ts +3 -0
- package/platform_event_manager.d.ts.map +1 -1
- package/platform_event_manager.js +11 -4
- package/platform_event_manager.js.map +1 -1
- package/proxy_configuration.d.ts +9 -6
- package/proxy_configuration.d.ts.map +1 -1
- package/proxy_configuration.js +13 -7
- package/proxy_configuration.js.map +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/README.md
CHANGED
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Apify SDK monorepo
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/@crawlee/core)
|
|
6
|
-
[](https://www.npmjs.com/package/@crawlee/core)
|
|
3
|
+
[](https://www.npmjs.com/package/apify)
|
|
4
|
+
[](https://www.npmjs.com/package/apify)
|
|
7
5
|
[](https://discord.gg/jyEM2PRvMU)
|
|
8
|
-
[](https://github.com/apify/apify-sdk-js/actions/workflows/test-and-release.yml)
|
|
9
7
|
|
|
10
8
|
Apify SDK simplifies the development of web crawlers, scrapers, data extractors and web automation jobs.
|
|
11
9
|
It provides tools to manage and automatically scale a pool of headless browsers,
|
|
12
10
|
to maintain queues of URLs to crawl, store crawling results to a local filesystem or into the cloud,
|
|
13
11
|
rotate proxies and much more.
|
|
14
|
-
The SDK is available as the [`apify`](https://www.npmjs.com/package/apify) NPM package.
|
|
12
|
+
The Actor SDK is available as the [`apify`](https://www.npmjs.com/package/apify) NPM package.
|
|
15
13
|
It can be used either stand-alone in your own applications
|
|
16
14
|
or in [actors](https://docs.apify.com/actor)
|
|
17
15
|
running on the [Apify Cloud](https://apify.com/).
|
|
18
16
|
|
|
19
17
|
**View full documentation, guides and examples on the [Apify SDK project website](https://sdk.apify.com)**
|
|
20
18
|
|
|
21
|
-
> Would you like to work with us on Apify SDK or similar projects? [We are hiring!](https://apify.com/jobs#senior-node.js-engineer)
|
|
22
|
-
|
|
23
19
|
## Motivation
|
|
24
20
|
|
|
25
21
|
Thanks to tools like [Playwright](https://github.com/microsoft/playwright), [Puppeteer](https://github.com/puppeteer/puppeteer) or
|
|
@@ -195,7 +191,7 @@ For more information, view the [Apify actors quick start guide](https://docs.api
|
|
|
195
191
|
|
|
196
192
|
## Support
|
|
197
193
|
|
|
198
|
-
If you find any bug or issue with the Apify SDK, please [submit an issue on GitHub](https://github.com/apify/apify-js/issues).
|
|
194
|
+
If you find any bug or issue with the Apify SDK, please [submit an issue on GitHub](https://github.com/apify/apify-sdk-js/issues).
|
|
199
195
|
For questions, you can ask on [Stack Overflow](https://stackoverflow.com/questions/tagged/apify) or contact support@apify.com
|
|
200
196
|
|
|
201
197
|
## Contributing
|
|
@@ -203,12 +199,12 @@ For questions, you can ask on [Stack Overflow](https://stackoverflow.com/questio
|
|
|
203
199
|
Your code contributions are welcome and you'll be praised to eternity!
|
|
204
200
|
If you have any ideas for improvements, either submit an issue or create a pull request.
|
|
205
201
|
For contribution guidelines and the code of conduct,
|
|
206
|
-
see [CONTRIBUTING.md](https://github.com/apify/apify-js/blob/master/CONTRIBUTING.md).
|
|
202
|
+
see [CONTRIBUTING.md](https://github.com/apify/apify-sdk-js/blob/master/CONTRIBUTING.md).
|
|
207
203
|
|
|
208
204
|
## License
|
|
209
205
|
|
|
210
206
|
This project is licensed under the Apache License 2.0 -
|
|
211
|
-
see the [LICENSE.md](https://github.com/apify/apify-js/blob/master/LICENSE.md) file for details.
|
|
207
|
+
see the [LICENSE.md](https://github.com/apify/apify-sdk-js/blob/master/LICENSE.md) file for details.
|
|
212
208
|
|
|
213
209
|
## Acknowledgments
|
|
214
210
|
|
package/actor.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import type {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import type { ActorStartOptions, ApifyClientOptions, RunAbortOptions, TaskStartOptions, Webhook, WebhookEventType } from 'apify-client';
|
|
3
|
+
import { ActorRun as ClientActorRun, ApifyClient } from 'apify-client';
|
|
4
|
+
import type { ConfigurationOptions, EventManager, EventTypeName, RecordOptions } from '@crawlee/core';
|
|
5
|
+
import { Dataset, RequestQueue } from '@crawlee/core';
|
|
6
|
+
import type { Awaitable, Dictionary, StorageClient } from '@crawlee/types';
|
|
7
|
+
import type { ProxyConfigurationOptions } from './proxy_configuration';
|
|
8
|
+
import { ProxyConfiguration } from './proxy_configuration';
|
|
9
|
+
import { KeyValueStore } from './key_value_store';
|
|
10
|
+
import { Configuration } from './configuration';
|
|
7
11
|
/**
|
|
8
12
|
* `Apify` class serves as an alternative approach to the static helpers exported from the package. It allows to pass configuration
|
|
9
13
|
* that will be used on the instance methods. Environment variables will have precedence over this configuration.
|
|
10
14
|
* See {@link Configuration} for details about what can be configured and what are the default values.
|
|
11
15
|
*/
|
|
12
|
-
export declare class Actor {
|
|
16
|
+
export declare class Actor<Data extends Dictionary = Dictionary> {
|
|
13
17
|
/** @internal */
|
|
14
18
|
static _instance: Actor;
|
|
15
19
|
/**
|
|
@@ -27,7 +31,6 @@ export declare class Actor {
|
|
|
27
31
|
* @internal
|
|
28
32
|
*/
|
|
29
33
|
readonly eventManager: EventManager;
|
|
30
|
-
private readonly storageManagers;
|
|
31
34
|
constructor(options?: ConfigurationOptions);
|
|
32
35
|
/**
|
|
33
36
|
* Runs the main user function that performs the job of the actor
|
|
@@ -59,7 +62,7 @@ export declare class Actor {
|
|
|
59
62
|
* The user function can be synchronous:
|
|
60
63
|
*
|
|
61
64
|
* ```javascript
|
|
62
|
-
* Actor.main(() => {
|
|
65
|
+
* await Actor.main(() => {
|
|
63
66
|
* // My synchronous function that returns immediately
|
|
64
67
|
* console.log('Hello world from actor!');
|
|
65
68
|
* });
|
|
@@ -67,9 +70,9 @@ export declare class Actor {
|
|
|
67
70
|
*
|
|
68
71
|
* If the user function returns a promise, it is considered asynchronous:
|
|
69
72
|
* ```javascript
|
|
70
|
-
*
|
|
73
|
+
* import { gotScraping } from 'got-scraping';
|
|
71
74
|
*
|
|
72
|
-
* Actor.main(() => {
|
|
75
|
+
* await Actor.main(() => {
|
|
73
76
|
* // My asynchronous function that returns a promise
|
|
74
77
|
* return gotScraping('http://www.example.com').then((html) => {
|
|
75
78
|
* console.log(html);
|
|
@@ -80,9 +83,9 @@ export declare class Actor {
|
|
|
80
83
|
* To simplify your code, you can take advantage of the `async`/`await` keywords:
|
|
81
84
|
*
|
|
82
85
|
* ```javascript
|
|
83
|
-
*
|
|
86
|
+
* import { gotScraping } from 'got-scraping';
|
|
84
87
|
*
|
|
85
|
-
* Actor.main(async () => {
|
|
88
|
+
* await Actor.main(async () => {
|
|
86
89
|
* // My asynchronous function
|
|
87
90
|
* const html = await request('http://www.example.com');
|
|
88
91
|
* console.log(html);
|
|
@@ -142,7 +145,7 @@ export declare class Actor {
|
|
|
142
145
|
* [Run actor](https://apify.com/docs/api/v2#/reference/actors/run-collection/run-actor)
|
|
143
146
|
* and several other API endpoints to obtain the output.
|
|
144
147
|
*
|
|
145
|
-
* @param
|
|
148
|
+
* @param actorId
|
|
146
149
|
* Allowed formats are `username/actor-name`, `userId/actor-name` or actor ID.
|
|
147
150
|
* @param [input]
|
|
148
151
|
* Input for the actor. If it is an object, it will be stringified to
|
|
@@ -151,7 +154,48 @@ export declare class Actor {
|
|
|
151
154
|
* @param [options]
|
|
152
155
|
* @ignore
|
|
153
156
|
*/
|
|
154
|
-
call(
|
|
157
|
+
call(actorId: string, input?: unknown, options?: CallOptions): Promise<ClientActorRun>;
|
|
158
|
+
/**
|
|
159
|
+
* Runs an actor on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable),
|
|
160
|
+
* unlike `Actor.call`, this method just starts the run without waiting for finish.
|
|
161
|
+
*
|
|
162
|
+
* The result of the function is an {@link ActorRun} object that contains details about the actor run.
|
|
163
|
+
*
|
|
164
|
+
* For more information about actors, read the
|
|
165
|
+
* [documentation](https://docs.apify.com/actor).
|
|
166
|
+
*
|
|
167
|
+
* **Example usage:**
|
|
168
|
+
*
|
|
169
|
+
* ```javascript
|
|
170
|
+
* const run = await Actor.start('apify/hello-world', { myInput: 123 });
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* @param actorId
|
|
174
|
+
* Allowed formats are `username/actor-name`, `userId/actor-name` or actor ID.
|
|
175
|
+
* @param [input]
|
|
176
|
+
* Input for the actor. If it is an object, it will be stringified to
|
|
177
|
+
* JSON and its content type set to `application/json; charset=utf-8`.
|
|
178
|
+
* Otherwise the `options.contentType` parameter must be provided.
|
|
179
|
+
* @param [options]
|
|
180
|
+
* @ignore
|
|
181
|
+
*/
|
|
182
|
+
start(actorId: string, input?: unknown, options?: CallOptions): Promise<ClientActorRun>;
|
|
183
|
+
/**
|
|
184
|
+
* Aborts given actor run on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable).
|
|
185
|
+
*
|
|
186
|
+
* The result of the function is an {@link ActorRun} object that contains details about the actor run.
|
|
187
|
+
*
|
|
188
|
+
* For more information about actors, read the
|
|
189
|
+
* [documentation](https://docs.apify.com/actor).
|
|
190
|
+
*
|
|
191
|
+
* **Example usage:**
|
|
192
|
+
*
|
|
193
|
+
* ```javascript
|
|
194
|
+
* const run = await Actor.abort(runId);
|
|
195
|
+
* ```
|
|
196
|
+
* @ignore
|
|
197
|
+
*/
|
|
198
|
+
abort(runId: string, options?: AbortOptions): Promise<ClientActorRun>;
|
|
155
199
|
/**
|
|
156
200
|
* Runs an actor task on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable),
|
|
157
201
|
* waits for the task to finish and fetches its output.
|
|
@@ -224,6 +268,15 @@ export declare class Actor {
|
|
|
224
268
|
* @ignore
|
|
225
269
|
*/
|
|
226
270
|
addWebhook(options: WebhookOptions): Promise<Webhook | undefined>;
|
|
271
|
+
/**
|
|
272
|
+
* Sets the status message for the current actor run.
|
|
273
|
+
*
|
|
274
|
+
* @param options
|
|
275
|
+
* @returns The return value is the Run object.
|
|
276
|
+
* For more information, see the [Actor Runs](https://docs.apify.com/api/v2#/reference/actor-runs/) API endpoints.
|
|
277
|
+
* @ignore
|
|
278
|
+
*/
|
|
279
|
+
setStatusMessage(statusMessage: string): Promise<ClientActorRun>;
|
|
227
280
|
/**
|
|
228
281
|
* Stores an object or an array of objects to the default {@link Dataset} of the current actor run.
|
|
229
282
|
*
|
|
@@ -248,7 +301,7 @@ export declare class Actor {
|
|
|
248
301
|
* The objects must be serializable to JSON and the JSON representation of each object must be smaller than 9MB.
|
|
249
302
|
* @ignore
|
|
250
303
|
*/
|
|
251
|
-
pushData(item:
|
|
304
|
+
pushData(item: Data | Data[]): Promise<void>;
|
|
252
305
|
/**
|
|
253
306
|
* Opens a dataset and returns a promise resolving to an instance of the {@link Dataset} class.
|
|
254
307
|
*
|
|
@@ -264,7 +317,7 @@ export declare class Actor {
|
|
|
264
317
|
* @param [options]
|
|
265
318
|
* @ignore
|
|
266
319
|
*/
|
|
267
|
-
openDataset
|
|
320
|
+
openDataset(datasetIdOrName?: string | null, options?: OpenStorageOptions): Promise<Dataset<Data>>;
|
|
268
321
|
/**
|
|
269
322
|
* Gets a value from the default {@link KeyValueStore} associated with the current actor run.
|
|
270
323
|
*
|
|
@@ -372,61 +425,6 @@ export declare class Actor {
|
|
|
372
425
|
* @ignore
|
|
373
426
|
*/
|
|
374
427
|
openKeyValueStore(storeIdOrName?: string | null, options?: OpenStorageOptions): Promise<KeyValueStore>;
|
|
375
|
-
/**
|
|
376
|
-
* Opens a request list and returns a promise resolving to an instance
|
|
377
|
-
* of the {@link RequestList} class that is already initialized.
|
|
378
|
-
*
|
|
379
|
-
* {@link RequestList} represents a list of URLs to crawl, which is always stored in memory.
|
|
380
|
-
* To enable picking up where left off after a process restart, the request list sources
|
|
381
|
-
* are persisted to the key-value store at initialization of the list. Then, while crawling,
|
|
382
|
-
* a small state object is regularly persisted to keep track of the crawling status.
|
|
383
|
-
*
|
|
384
|
-
* For more details and code examples, see the {@link RequestList} class.
|
|
385
|
-
*
|
|
386
|
-
* **Example usage:**
|
|
387
|
-
*
|
|
388
|
-
* ```javascript
|
|
389
|
-
* const sources = [
|
|
390
|
-
* 'https://www.example.com',
|
|
391
|
-
* 'https://www.google.com',
|
|
392
|
-
* 'https://www.bing.com'
|
|
393
|
-
* ];
|
|
394
|
-
*
|
|
395
|
-
* const requestList = await RequestList.open('my-name', sources);
|
|
396
|
-
* ```
|
|
397
|
-
*
|
|
398
|
-
* @param listName
|
|
399
|
-
* Name of the request list to be opened. Setting a name enables the `RequestList`'s state to be persisted
|
|
400
|
-
* in the key-value store. This is useful in case of a restart or migration. Since `RequestList` is only
|
|
401
|
-
* stored in memory, a restart or migration wipes it clean. Setting a name will enable the `RequestList`'s
|
|
402
|
-
* state to survive those situations and continue where it left off.
|
|
403
|
-
*
|
|
404
|
-
* The name will be used as a prefix in key-value store, producing keys such as `NAME-REQUEST_LIST_STATE`
|
|
405
|
-
* and `NAME-REQUEST_LIST_SOURCES`.
|
|
406
|
-
*
|
|
407
|
-
* If `null`, the list will not be persisted and will only be stored in memory. Process restart
|
|
408
|
-
* will then cause the list to be crawled again from the beginning. We suggest always using a name.
|
|
409
|
-
* @param sources
|
|
410
|
-
* An array of sources of URLs for the {@link RequestList}. It can be either an array of strings,
|
|
411
|
-
* plain objects that define at least the `url` property, or an array of {@link Request} instances.
|
|
412
|
-
*
|
|
413
|
-
* **IMPORTANT:** The `sources` array will be consumed (left empty) after {@link RequestList} initializes.
|
|
414
|
-
* This is a measure to prevent memory leaks in situations when millions of sources are
|
|
415
|
-
* added.
|
|
416
|
-
*
|
|
417
|
-
* Additionally, the `requestsFromUrl` property may be used instead of `url`,
|
|
418
|
-
* which will instruct {@link RequestList} to download the source URLs from a given remote location.
|
|
419
|
-
* The URLs will be parsed from the received response. In this case you can limit the URLs
|
|
420
|
-
* using `regex` parameter containing regular expression pattern for URLs to be included.
|
|
421
|
-
*
|
|
422
|
-
* For details, see the {@link RequestListOptions.sources}
|
|
423
|
-
* @param [options]
|
|
424
|
-
* The {@link RequestList} options. Note that the `listName` parameter supersedes
|
|
425
|
-
* the {@link RequestListOptions.persistStateKey} and {@link RequestListOptions.persistRequestsKey}
|
|
426
|
-
* options and the `sources` parameter supersedes the {@link RequestListOptions.sources} option.
|
|
427
|
-
* @ignore
|
|
428
|
-
*/
|
|
429
|
-
openRequestList(listName: string | null, sources: Source[], options?: RequestListOptions): Promise<RequestList>;
|
|
430
428
|
/**
|
|
431
429
|
* Opens a request queue and returns a promise resolving to an instance
|
|
432
430
|
* of the {@link RequestQueue} class.
|
|
@@ -466,7 +464,7 @@ export declare class Actor {
|
|
|
466
464
|
* const crawler = new CheerioCrawler({
|
|
467
465
|
* // ...
|
|
468
466
|
* proxyConfiguration,
|
|
469
|
-
*
|
|
467
|
+
* requestHandler({ proxyInfo }) {
|
|
470
468
|
* const usedProxyUrl = proxyInfo.url; // Getting the proxy URL
|
|
471
469
|
* }
|
|
472
470
|
* })
|
|
@@ -537,7 +535,7 @@ export declare class Actor {
|
|
|
537
535
|
* The user function can be synchronous:
|
|
538
536
|
*
|
|
539
537
|
* ```javascript
|
|
540
|
-
* Actor.main(() => {
|
|
538
|
+
* await Actor.main(() => {
|
|
541
539
|
* // My synchronous function that returns immediately
|
|
542
540
|
* console.log('Hello world from actor!');
|
|
543
541
|
* });
|
|
@@ -545,9 +543,9 @@ export declare class Actor {
|
|
|
545
543
|
*
|
|
546
544
|
* If the user function returns a promise, it is considered asynchronous:
|
|
547
545
|
* ```javascript
|
|
548
|
-
*
|
|
546
|
+
* import { gotScraping } from 'got-scraping';
|
|
549
547
|
*
|
|
550
|
-
* Actor.main(() => {
|
|
548
|
+
* await Actor.main(() => {
|
|
551
549
|
* // My asynchronous function that returns a promise
|
|
552
550
|
* return gotScraping('http://www.example.com').then((html) => {
|
|
553
551
|
* console.log(html);
|
|
@@ -558,9 +556,9 @@ export declare class Actor {
|
|
|
558
556
|
* To simplify your code, you can take advantage of the `async`/`await` keywords:
|
|
559
557
|
*
|
|
560
558
|
* ```javascript
|
|
561
|
-
*
|
|
559
|
+
* import { gotScraping } from 'got-scraping';
|
|
562
560
|
*
|
|
563
|
-
* Actor.main(async () => {
|
|
561
|
+
* await Actor.main(async () => {
|
|
564
562
|
* // My asynchronous function
|
|
565
563
|
* const html = await gotScraping('http://www.example.com');
|
|
566
564
|
* console.log(html);
|
|
@@ -604,7 +602,7 @@ export declare class Actor {
|
|
|
604
602
|
* [Run actor](https://apify.com/docs/api/v2#/reference/actors/run-collection/run-actor)
|
|
605
603
|
* and several other API endpoints to obtain the output.
|
|
606
604
|
*
|
|
607
|
-
* @param
|
|
605
|
+
* @param actorId
|
|
608
606
|
* Allowed formats are `username/actor-name`, `userId/actor-name` or actor ID.
|
|
609
607
|
* @param [input]
|
|
610
608
|
* Input for the actor. If it is an object, it will be stringified to
|
|
@@ -612,7 +610,7 @@ export declare class Actor {
|
|
|
612
610
|
* Otherwise the `options.contentType` parameter must be provided.
|
|
613
611
|
* @param [options]
|
|
614
612
|
*/
|
|
615
|
-
static call(
|
|
613
|
+
static call(actorId: string, input?: unknown, options?: CallOptions): Promise<ClientActorRun>;
|
|
616
614
|
/**
|
|
617
615
|
* Runs an actor task on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable),
|
|
618
616
|
* waits for the task to finish and fetches its output.
|
|
@@ -649,6 +647,45 @@ export declare class Actor {
|
|
|
649
647
|
* @param [options]
|
|
650
648
|
*/
|
|
651
649
|
static callTask(taskId: string, input?: Dictionary, options?: CallTaskOptions): Promise<ClientActorRun>;
|
|
650
|
+
/**
|
|
651
|
+
* Runs an actor on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable),
|
|
652
|
+
* unlike `Actor.call`, this method just starts the run without waiting for finish.
|
|
653
|
+
*
|
|
654
|
+
* The result of the function is an {@link ActorRun} object that contains details about the actor run.
|
|
655
|
+
*
|
|
656
|
+
* For more information about actors, read the
|
|
657
|
+
* [documentation](https://docs.apify.com/actor).
|
|
658
|
+
*
|
|
659
|
+
* **Example usage:**
|
|
660
|
+
*
|
|
661
|
+
* ```javascript
|
|
662
|
+
* const run = await Actor.start('apify/hello-world', { myInput: 123 });
|
|
663
|
+
* ```
|
|
664
|
+
*
|
|
665
|
+
* @param actorId
|
|
666
|
+
* Allowed formats are `username/actor-name`, `userId/actor-name` or actor ID.
|
|
667
|
+
* @param [input]
|
|
668
|
+
* Input for the actor. If it is an object, it will be stringified to
|
|
669
|
+
* JSON and its content type set to `application/json; charset=utf-8`.
|
|
670
|
+
* Otherwise the `options.contentType` parameter must be provided.
|
|
671
|
+
* @param [options]
|
|
672
|
+
*/
|
|
673
|
+
static start(actorId: string, input?: Dictionary, options?: CallOptions): Promise<ClientActorRun>;
|
|
674
|
+
/**
|
|
675
|
+
* Aborts given actor run on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable).
|
|
676
|
+
*
|
|
677
|
+
* The result of the function is an {@link ActorRun} object that contains details about the actor run.
|
|
678
|
+
*
|
|
679
|
+
* For more information about actors, read the
|
|
680
|
+
* [documentation](https://docs.apify.com/actor).
|
|
681
|
+
*
|
|
682
|
+
* **Example usage:**
|
|
683
|
+
*
|
|
684
|
+
* ```javascript
|
|
685
|
+
* const run = await Actor.abort(runId);
|
|
686
|
+
* ```
|
|
687
|
+
*/
|
|
688
|
+
static abort(runId: string, options?: AbortOptions): Promise<ClientActorRun>;
|
|
652
689
|
/**
|
|
653
690
|
* Transforms this actor run to an actor run of a given actor. The system stops the current container and starts
|
|
654
691
|
* the new container instead. All the default storages are preserved and the new input is stored under the `INPUT-METAMORPH-1` key
|
|
@@ -680,6 +717,14 @@ export declare class Actor {
|
|
|
680
717
|
* For more information, see the [Get webhook](https://apify.com/docs/api/v2#/reference/webhooks/webhook-object/get-webhook) API endpoint.
|
|
681
718
|
*/
|
|
682
719
|
static addWebhook(options: WebhookOptions): Promise<Webhook | undefined>;
|
|
720
|
+
/**
|
|
721
|
+
* Sets the status message for the current actor run.
|
|
722
|
+
*
|
|
723
|
+
* @param options
|
|
724
|
+
* @returns The return value is the Run object.
|
|
725
|
+
* For more information, see the [Actor Runs](https://docs.apify.com/api/v2#/reference/actor-runs/) API endpoints.
|
|
726
|
+
*/
|
|
727
|
+
static setStatusMessage(statusMessage: string): Promise<ClientActorRun>;
|
|
683
728
|
/**
|
|
684
729
|
* Stores an object or an array of objects to the default {@link Dataset} of the current actor run.
|
|
685
730
|
*
|
|
@@ -703,7 +748,7 @@ export declare class Actor {
|
|
|
703
748
|
* @param item Object or array of objects containing data to be stored in the default dataset.
|
|
704
749
|
* The objects must be serializable to JSON and the JSON representation of each object must be smaller than 9MB.
|
|
705
750
|
*/
|
|
706
|
-
static pushData(item:
|
|
751
|
+
static pushData<Data extends Dictionary = Dictionary>(item: Data | Data[]): Promise<void>;
|
|
707
752
|
/**
|
|
708
753
|
* Opens a dataset and returns a promise resolving to an instance of the {@link Dataset} class.
|
|
709
754
|
*
|
|
@@ -821,60 +866,6 @@ export declare class Actor {
|
|
|
821
866
|
* @param [options]
|
|
822
867
|
*/
|
|
823
868
|
static openKeyValueStore(storeIdOrName?: string | null, options?: OpenStorageOptions): Promise<KeyValueStore>;
|
|
824
|
-
/**
|
|
825
|
-
* Opens a request list and returns a promise resolving to an instance
|
|
826
|
-
* of the {@link RequestList} class that is already initialized.
|
|
827
|
-
*
|
|
828
|
-
* {@link RequestList} represents a list of URLs to crawl, which is always stored in memory.
|
|
829
|
-
* To enable picking up where left off after a process restart, the request list sources
|
|
830
|
-
* are persisted to the key-value store at initialization of the list. Then, while crawling,
|
|
831
|
-
* a small state object is regularly persisted to keep track of the crawling status.
|
|
832
|
-
*
|
|
833
|
-
* For more details and code examples, see the {@link RequestList} class.
|
|
834
|
-
*
|
|
835
|
-
* **Example usage:**
|
|
836
|
-
*
|
|
837
|
-
* ```javascript
|
|
838
|
-
* const sources = [
|
|
839
|
-
* 'https://www.example.com',
|
|
840
|
-
* 'https://www.google.com',
|
|
841
|
-
* 'https://www.bing.com'
|
|
842
|
-
* ];
|
|
843
|
-
*
|
|
844
|
-
* const requestList = await RequestList.open('my-name', sources);
|
|
845
|
-
* ```
|
|
846
|
-
*
|
|
847
|
-
* @param listName
|
|
848
|
-
* Name of the request list to be opened. Setting a name enables the `RequestList`'s state to be persisted
|
|
849
|
-
* in the key-value store. This is useful in case of a restart or migration. Since `RequestList` is only
|
|
850
|
-
* stored in memory, a restart or migration wipes it clean. Setting a name will enable the `RequestList`'s
|
|
851
|
-
* state to survive those situations and continue where it left off.
|
|
852
|
-
*
|
|
853
|
-
* The name will be used as a prefix in key-value store, producing keys such as `NAME-REQUEST_LIST_STATE`
|
|
854
|
-
* and `NAME-REQUEST_LIST_SOURCES`.
|
|
855
|
-
*
|
|
856
|
-
* If `null`, the list will not be persisted and will only be stored in memory. Process restart
|
|
857
|
-
* will then cause the list to be crawled again from the beginning. We suggest always using a name.
|
|
858
|
-
* @param sources
|
|
859
|
-
* An array of sources of URLs for the {@link RequestList}. It can be either an array of strings,
|
|
860
|
-
* plain objects that define at least the `url` property, or an array of {@link Request} instances.
|
|
861
|
-
*
|
|
862
|
-
* **IMPORTANT:** The `sources` array will be consumed (left empty) after {@link RequestList} initializes.
|
|
863
|
-
* This is a measure to prevent memory leaks in situations when millions of sources are
|
|
864
|
-
* added.
|
|
865
|
-
*
|
|
866
|
-
* Additionally, the `requestsFromUrl` property may be used instead of `url`,
|
|
867
|
-
* which will instruct {@link RequestList} to download the source URLs from a given remote location.
|
|
868
|
-
* The URLs will be parsed from the received response. In this case you can limit the URLs
|
|
869
|
-
* using `regex` parameter containing regular expression pattern for URLs to be included.
|
|
870
|
-
*
|
|
871
|
-
* For details, see the {@link RequestListOptions.sources}
|
|
872
|
-
* @param [options]
|
|
873
|
-
* The {@link RequestList} options. Note that the `listName` parameter supersedes
|
|
874
|
-
* the {@link RequestListOptions.persistStateKey} and {@link RequestListOptions.persistRequestsKey}
|
|
875
|
-
* options and the `sources` parameter supersedes the {@link RequestListOptions.sources} option.
|
|
876
|
-
*/
|
|
877
|
-
static openRequestList(listName: string | null, sources: Source[], options?: RequestListOptions): Promise<RequestList>;
|
|
878
869
|
/**
|
|
879
870
|
* Opens a request queue and returns a promise resolving to an instance
|
|
880
871
|
* of the {@link RequestQueue} class.
|
|
@@ -913,7 +904,7 @@ export declare class Actor {
|
|
|
913
904
|
* const crawler = new CheerioCrawler({
|
|
914
905
|
* // ...
|
|
915
906
|
* proxyConfiguration,
|
|
916
|
-
*
|
|
907
|
+
* requestHandler({ proxyInfo }) {
|
|
917
908
|
* const usedProxyUrl = proxyInfo.url; // Getting the proxy URL
|
|
918
909
|
* }
|
|
919
910
|
* })
|
|
@@ -957,10 +948,8 @@ export declare class Actor {
|
|
|
957
948
|
/** @internal */
|
|
958
949
|
static getDefaultInstance(): Actor;
|
|
959
950
|
private _openStorage;
|
|
960
|
-
private _getStorageManager;
|
|
961
951
|
}
|
|
962
952
|
export interface InitOptions {
|
|
963
|
-
purge?: boolean;
|
|
964
953
|
storage?: StorageClient;
|
|
965
954
|
}
|
|
966
955
|
export interface MainOptions extends ExitOptions, InitOptions {
|
|
@@ -1029,6 +1018,12 @@ export interface CallTaskOptions extends TaskStartOptions {
|
|
|
1029
1018
|
*/
|
|
1030
1019
|
token?: string;
|
|
1031
1020
|
}
|
|
1021
|
+
export interface AbortOptions extends RunAbortOptions {
|
|
1022
|
+
/**
|
|
1023
|
+
* User API token that is used to run the actor. By default, it is taken from the `APIFY_TOKEN` environment variable.
|
|
1024
|
+
*/
|
|
1025
|
+
token?: string;
|
|
1026
|
+
}
|
|
1032
1027
|
export interface WebhookOptions {
|
|
1033
1028
|
/**
|
|
1034
1029
|
* Array of event types, which you can set for actor run, see
|
|
@@ -1075,7 +1070,10 @@ export interface MetamorphOptions {
|
|
|
1075
1070
|
export interface ExitOptions {
|
|
1076
1071
|
/** Exit with given status message */
|
|
1077
1072
|
statusMessage?: string;
|
|
1078
|
-
/**
|
|
1073
|
+
/**
|
|
1074
|
+
* Amount of time, in seconds, to wait for all event handlers to finish before exiting the process.
|
|
1075
|
+
* @default 30
|
|
1076
|
+
*/
|
|
1079
1077
|
timeoutSecs?: number;
|
|
1080
1078
|
/** Exit code, defaults to 0 */
|
|
1081
1079
|
exitCode?: number;
|
package/actor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actor.d.ts","sourceRoot":"","sources":["../src/actor.ts"],"names":[],"mappings":";AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"actor.d.ts","sourceRoot":"","sources":["../src/actor.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EACR,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,OAAO,EACP,gBAAgB,EACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EACH,QAAQ,IAAI,cAAc,EAC1B,WAAW,EACd,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACR,oBAAoB,EACpB,YAAY,EACZ,aAAa,EAEb,aAAa,EAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAEH,OAAO,EAEP,YAAY,EAGf,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,SAAS,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIxF,OAAO,KAAK,EAAE,yBAAyB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