@crawlee/basic 3.0.0-beta.7 → 3.0.0-beta.72
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 +77 -130
- package/index.mjs +68 -0
- package/internals/basic-crawler.d.ts +98 -82
- package/internals/basic-crawler.d.ts.map +1 -1
- package/internals/basic-crawler.js +140 -45
- package/internals/basic-crawler.js.map +1 -1
- package/internals/constants.d.ts +1 -1
- package/internals/constants.js +1 -1
- package/package.json +22 -22
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -1,65 +1,48 @@
|
|
|
1
|
-
import { Log } from '@apify/log';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Awaitable } from '@crawlee/
|
|
6
|
-
export interface
|
|
7
|
-
crawler: BasicCrawler;
|
|
8
|
-
enqueueLinks: (options: BasicCrawlerEnqueueLinksOptions) => Promise<QueueOperationInfo[]>;
|
|
9
|
-
sendRequest: (request?: Request) => Promise<GotResponse<string>>;
|
|
10
|
-
}
|
|
11
|
-
export interface BasicCrawlerHandleFailedRequestInput extends CrawlerHandleFailedRequestInput {
|
|
1
|
+
import type { Log } from '@apify/log';
|
|
2
|
+
import type { AutoscaledPoolOptions, EnqueueLinksOptions, EventManager, FinalStatistics, ProxyInfo, Request, RequestList, RequestOptions, RequestQueueOperationOptions, RouterHandler, Session, SessionPoolOptions } from '@crawlee/core';
|
|
3
|
+
import { AutoscaledPool, Configuration, type CrawlingContext, RequestQueue, SessionPool, Statistics } from '@crawlee/core';
|
|
4
|
+
import type { GotOptionsInit, Response as GotResponse } from 'got-scraping';
|
|
5
|
+
import type { ProcessedRequest, Dictionary, Awaitable, BatchAddRequestsResult } from '@crawlee/types';
|
|
6
|
+
export interface BasicCrawlingContext<UserData extends Dictionary = Dictionary> extends CrawlingContext<UserData> {
|
|
12
7
|
crawler: BasicCrawler;
|
|
8
|
+
enqueueLinks: (options: BasicCrawlerEnqueueLinksOptions) => Promise<BatchAddRequestsResult>;
|
|
9
|
+
sendRequest: (overrideOptions?: Partial<GotOptionsInit>) => Promise<GotResponse<string>>;
|
|
13
10
|
}
|
|
14
11
|
/** @internal */
|
|
15
12
|
export declare type BasicCrawlerEnqueueLinksOptions = Omit<EnqueueLinksOptions, 'requestQueue'>;
|
|
16
|
-
export declare type RequestHandler<Context extends CrawlingContext =
|
|
17
|
-
export declare type FailedRequestHandler<
|
|
18
|
-
export interface BasicCrawlerOptions<Context extends CrawlingContext =
|
|
13
|
+
export declare type RequestHandler<Context extends CrawlingContext = BasicCrawlingContext> = (inputs: Context) => Awaitable<void>;
|
|
14
|
+
export declare type FailedRequestHandler<Context extends CrawlingContext = BasicCrawlingContext> = (inputs: Context, error: Error) => Awaitable<void>;
|
|
15
|
+
export interface BasicCrawlerOptions<Context extends CrawlingContext = BasicCrawlingContext> {
|
|
19
16
|
/**
|
|
20
17
|
* User-provided function that performs the logic of the crawler. It is called for each URL to crawl.
|
|
21
18
|
*
|
|
22
|
-
* The function receives the
|
|
23
|
-
*
|
|
24
|
-
* {
|
|
25
|
-
* request: Request,
|
|
26
|
-
* session: Session,
|
|
27
|
-
* crawler: BasicCrawler,
|
|
28
|
-
* }
|
|
29
|
-
* ```
|
|
30
|
-
* where the {@link Request} instance represents the URL to crawl.
|
|
19
|
+
* The function receives the {@link BasicCrawlingContext} as an argument,
|
|
20
|
+
* where the {@link BasicCrawlingContext.request} represents the URL to crawl.
|
|
31
21
|
*
|
|
32
22
|
* The function must return a promise, which is then awaited by the crawler.
|
|
33
23
|
*
|
|
34
24
|
* If the function throws an exception, the crawler will try to re-crawl the
|
|
35
25
|
* request later, up to `option.maxRequestRetries` times.
|
|
36
26
|
* If all the retries fail, the crawler calls the function
|
|
37
|
-
* provided to the `
|
|
27
|
+
* provided to the `failedRequestHandler` parameter.
|
|
38
28
|
* To make this work, you should **always**
|
|
39
29
|
* let your function throw exceptions rather than catch them.
|
|
40
30
|
* The exceptions are logged to the request using the
|
|
41
31
|
* {@link Request.pushErrorMessage} function.
|
|
42
32
|
*/
|
|
43
|
-
requestHandler
|
|
33
|
+
requestHandler?: RequestHandler<Context>;
|
|
44
34
|
/**
|
|
45
35
|
* User-provided function that performs the logic of the crawler. It is called for each URL to crawl.
|
|
46
36
|
*
|
|
47
|
-
* The function receives the
|
|
48
|
-
*
|
|
49
|
-
* {
|
|
50
|
-
* request: Request,
|
|
51
|
-
* session: Session,
|
|
52
|
-
* crawler: BasicCrawler,
|
|
53
|
-
* }
|
|
54
|
-
* ```
|
|
55
|
-
* where the {@link Request} instance represents the URL to crawl.
|
|
37
|
+
* The function receives the {@link BasicCrawlingContext} as an argument,
|
|
38
|
+
* where the {@link BasicCrawlingContext.request} represents the URL to crawl.
|
|
56
39
|
*
|
|
57
40
|
* The function must return a promise, which is then awaited by the crawler.
|
|
58
41
|
*
|
|
59
42
|
* If the function throws an exception, the crawler will try to re-crawl the
|
|
60
43
|
* request later, up to `option.maxRequestRetries` times.
|
|
61
44
|
* If all the retries fail, the crawler calls the function
|
|
62
|
-
* provided to the `
|
|
45
|
+
* provided to the `failedRequestHandler` parameter.
|
|
63
46
|
* To make this work, you should **always**
|
|
64
47
|
* let your function throw exceptions rather than catch them.
|
|
65
48
|
* The exceptions are logged to the request using the
|
|
@@ -90,49 +73,37 @@ export interface BasicCrawlerOptions<Context extends CrawlingContext = BasicCraw
|
|
|
90
73
|
*/
|
|
91
74
|
handleRequestTimeoutSecs?: number;
|
|
92
75
|
/**
|
|
93
|
-
*
|
|
76
|
+
* User-provided function that allows modifying the request object before it gets retried by the crawler.
|
|
77
|
+
* It's executed before each retry for the requests that failed less than `option.maxRequestRetries` times.
|
|
94
78
|
*
|
|
95
|
-
* The function receives the
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* request: Request,
|
|
99
|
-
* error: Error,
|
|
100
|
-
* session: Session,
|
|
101
|
-
* crawler: BasicCrawler,
|
|
102
|
-
* }
|
|
103
|
-
* ```
|
|
104
|
-
* where the {@link Request} instance corresponds to the failed request, and the `Error` instance
|
|
79
|
+
* The function receives the {@link BasicCrawlingContext} as the first argument,
|
|
80
|
+
* where the {@link BasicCrawlingContext.request} corresponds to the request to be retried.
|
|
81
|
+
* Second argument is the `Error` instance that
|
|
105
82
|
* represents the last error thrown during processing of the request.
|
|
106
|
-
*
|
|
107
|
-
* See
|
|
108
|
-
* [source code](https://github.com/apify/apify-js/blob/master/src/crawlers/basic_crawler.js#L11)
|
|
109
|
-
* for the default implementation of this function.
|
|
110
83
|
*/
|
|
111
|
-
|
|
84
|
+
errorHandler?: FailedRequestHandler<Context>;
|
|
112
85
|
/**
|
|
113
86
|
* A function to handle requests that failed more than `option.maxRequestRetries` times.
|
|
114
87
|
*
|
|
115
|
-
* The function receives the
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* request: Request,
|
|
119
|
-
* error: Error,
|
|
120
|
-
* session: Session,
|
|
121
|
-
* crawler: BasicCrawler,
|
|
122
|
-
* }
|
|
123
|
-
* ```
|
|
124
|
-
* where the {@link Request} instance corresponds to the failed request, and the `Error` instance
|
|
88
|
+
* The function receives the {@link BasicCrawlingContext} as the first argument,
|
|
89
|
+
* where the {@link BasicCrawlingContext.request} corresponds to the failed request.
|
|
90
|
+
* Second argument is the `Error` instance that
|
|
125
91
|
* represents the last error thrown during processing of the request.
|
|
92
|
+
*/
|
|
93
|
+
failedRequestHandler?: FailedRequestHandler<Context>;
|
|
94
|
+
/**
|
|
95
|
+
* A function to handle requests that failed more than `option.maxRequestRetries` times.
|
|
126
96
|
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
97
|
+
* The function receives the {@link BasicCrawlingContext} as the first argument,
|
|
98
|
+
* where the {@link BasicCrawlingContext.request} corresponds to the failed request.
|
|
99
|
+
* Second argument is the `Error` instance that
|
|
100
|
+
* represents the last error thrown during processing of the request.
|
|
130
101
|
*
|
|
131
102
|
* @deprecated `handleFailedRequestFunction` has been renamed to `failedRequestHandler` and will be removed in a future version.
|
|
132
103
|
*/
|
|
133
|
-
handleFailedRequestFunction?: FailedRequestHandler<
|
|
104
|
+
handleFailedRequestFunction?: FailedRequestHandler<Context>;
|
|
134
105
|
/**
|
|
135
|
-
* Indicates how many times the request is retried if {@link requestHandler}
|
|
106
|
+
* Indicates how many times the request is retried if {@link requestHandler} fails.
|
|
136
107
|
* @default 3
|
|
137
108
|
*/
|
|
138
109
|
maxRequestRetries?: number;
|
|
@@ -161,7 +132,13 @@ export interface BasicCrawlerOptions<Context extends CrawlingContext = BasicCraw
|
|
|
161
132
|
*/
|
|
162
133
|
maxConcurrency?: number;
|
|
163
134
|
/**
|
|
164
|
-
*
|
|
135
|
+
* The maximum number of requests per minute the crawler should run.
|
|
136
|
+
* By default, this is set to `Infinity`, but you can pass any positive, non-zero integer.
|
|
137
|
+
* Shortcut for the {@link AutoscaledPoolOptions.maxTasksPerMinute} option.
|
|
138
|
+
*/
|
|
139
|
+
maxRequestsPerMinute?: number;
|
|
140
|
+
/**
|
|
141
|
+
* Basic crawler will initialize the {@link SessionPool} with the corresponding `sessionPoolOptions`.
|
|
165
142
|
* The session instance will be than available in the `requestHandler`.
|
|
166
143
|
*/
|
|
167
144
|
useSessionPool?: boolean;
|
|
@@ -203,16 +180,13 @@ export interface BasicCrawlerOptions<Context extends CrawlingContext = BasicCraw
|
|
|
203
180
|
* **Example usage:**
|
|
204
181
|
*
|
|
205
182
|
* ```javascript
|
|
206
|
-
*
|
|
183
|
+
* import { gotScraping } from 'got-scraping';
|
|
207
184
|
*
|
|
208
185
|
* // Prepare a list of URLs to crawl
|
|
209
|
-
* const requestList =
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* ],
|
|
214
|
-
* });
|
|
215
|
-
* await requestList.initialize();
|
|
186
|
+
* const requestList = await RequestList.open(null, [
|
|
187
|
+
* { url: 'http://www.example.com/page-1' },
|
|
188
|
+
* { url: 'http://www.example.com/page-2' },
|
|
189
|
+
* ]);
|
|
216
190
|
*
|
|
217
191
|
* // Crawl the URLs
|
|
218
192
|
* const crawler = new BasicCrawler({
|
|
@@ -227,7 +201,7 @@ export interface BasicCrawlerOptions<Context extends CrawlingContext = BasicCraw
|
|
|
227
201
|
* headers: request.headers,
|
|
228
202
|
* });
|
|
229
203
|
*
|
|
230
|
-
* await
|
|
204
|
+
* await Dataset.pushData({
|
|
231
205
|
* url: request.url,
|
|
232
206
|
* html: body,
|
|
233
207
|
* })
|
|
@@ -238,8 +212,9 @@ export interface BasicCrawlerOptions<Context extends CrawlingContext = BasicCraw
|
|
|
238
212
|
* ```
|
|
239
213
|
* @category Crawlers
|
|
240
214
|
*/
|
|
241
|
-
export declare class BasicCrawler<Context extends CrawlingContext =
|
|
215
|
+
export declare class BasicCrawler<Context extends CrawlingContext = BasicCrawlingContext> {
|
|
242
216
|
readonly config: Configuration;
|
|
217
|
+
private static readonly CRAWLEE_STATE_KEY;
|
|
243
218
|
/**
|
|
244
219
|
* Static list of URLs to be processed.
|
|
245
220
|
*/
|
|
@@ -270,9 +245,15 @@ export declare class BasicCrawler<Context extends CrawlingContext = BasicCrawler
|
|
|
270
245
|
* or to abort it by calling {@link AutoscaledPool.abort}.
|
|
271
246
|
*/
|
|
272
247
|
autoscaledPool?: AutoscaledPool;
|
|
248
|
+
/**
|
|
249
|
+
* Default router instance that will be used if we don't specify any {@link requestHandler}.
|
|
250
|
+
* See {@link Router.addHandler} and {@link Router.addDefaultHandler.}
|
|
251
|
+
*/
|
|
252
|
+
readonly router: RouterHandler<Context>;
|
|
273
253
|
protected log: Log;
|
|
274
254
|
protected requestHandler: RequestHandler<Context>;
|
|
275
|
-
protected
|
|
255
|
+
protected errorHandler?: FailedRequestHandler<Context>;
|
|
256
|
+
protected failedRequestHandler?: FailedRequestHandler<Context>;
|
|
276
257
|
protected requestHandlerTimeoutMillis: number;
|
|
277
258
|
protected internalTimeoutMillis: number;
|
|
278
259
|
protected maxRequestRetries: number;
|
|
@@ -282,6 +263,7 @@ export declare class BasicCrawler<Context extends CrawlingContext = BasicCrawler
|
|
|
282
263
|
protected crawlingContexts: Map<string, Context>;
|
|
283
264
|
protected autoscaledPoolOptions: AutoscaledPoolOptions;
|
|
284
265
|
protected events: EventManager;
|
|
266
|
+
private _closeEvents?;
|
|
285
267
|
protected static optionsShape: {
|
|
286
268
|
requestList: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
|
|
287
269
|
requestQueue: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
|
|
@@ -289,6 +271,7 @@ export declare class BasicCrawler<Context extends CrawlingContext = BasicCrawler
|
|
|
289
271
|
handleRequestFunction: import("ow").Predicate<Function> & import("ow").BasePredicate<Function | undefined>;
|
|
290
272
|
requestHandlerTimeoutSecs: import("ow").NumberPredicate & import("ow").BasePredicate<number | undefined>;
|
|
291
273
|
handleRequestTimeoutSecs: import("ow").NumberPredicate & import("ow").BasePredicate<number | undefined>;
|
|
274
|
+
errorHandler: import("ow").Predicate<Function> & import("ow").BasePredicate<Function | undefined>;
|
|
292
275
|
failedRequestHandler: import("ow").Predicate<Function> & import("ow").BasePredicate<Function | undefined>;
|
|
293
276
|
handleFailedRequestFunction: import("ow").Predicate<Function> & import("ow").BasePredicate<Function | undefined>;
|
|
294
277
|
maxRequestRetries: import("ow").NumberPredicate & import("ow").BasePredicate<number | undefined>;
|
|
@@ -298,17 +281,24 @@ export declare class BasicCrawler<Context extends CrawlingContext = BasicCrawler
|
|
|
298
281
|
useSessionPool: import("ow").BooleanPredicate & import("ow").BasePredicate<boolean | undefined>;
|
|
299
282
|
minConcurrency: import("ow").NumberPredicate & import("ow").BasePredicate<number | undefined>;
|
|
300
283
|
maxConcurrency: import("ow").NumberPredicate & import("ow").BasePredicate<number | undefined>;
|
|
284
|
+
maxRequestsPerMinute: import("ow").NumberPredicate & import("ow").BasePredicate<number | undefined>;
|
|
301
285
|
log: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
|
|
302
286
|
};
|
|
303
287
|
/**
|
|
304
288
|
* All `BasicCrawler` parameters are passed via an options object.
|
|
305
289
|
*/
|
|
306
|
-
constructor(options
|
|
290
|
+
constructor(options?: BasicCrawlerOptions<Context>, config?: Configuration);
|
|
307
291
|
/**
|
|
308
292
|
* Runs the crawler. Returns a promise that gets resolved once all the requests are processed.
|
|
293
|
+
* We can use the `requests` parameter to enqueue the initial requests - it is a shortcut for
|
|
294
|
+
* running `crawler.addRequests()` before the `crawler.run()`.
|
|
295
|
+
*
|
|
296
|
+
* @param [requests] The requests to add
|
|
297
|
+
* @param [options] Options for the request queue
|
|
309
298
|
*/
|
|
310
|
-
run(): Promise<FinalStatistics>;
|
|
299
|
+
run(requests?: (string | Request | RequestOptions)[], options?: CrawlerAddRequestsOptions): Promise<FinalStatistics>;
|
|
311
300
|
getRequestQueue(): Promise<RequestQueue>;
|
|
301
|
+
useState<State extends Dictionary = Dictionary>(defaultValue?: State): Promise<State>;
|
|
312
302
|
/**
|
|
313
303
|
* Adds requests to be processed by the crawler
|
|
314
304
|
* @param requests The requests to add
|
|
@@ -326,7 +316,7 @@ export declare class BasicCrawler<Context extends CrawlingContext = BasicCrawler
|
|
|
326
316
|
* Fetches request from either RequestList or RequestQueue. If request comes from a RequestList
|
|
327
317
|
* and RequestQueue is present then enqueues it to the queue first.
|
|
328
318
|
*/
|
|
329
|
-
protected _fetchNextRequest(): Promise<Request | null>;
|
|
319
|
+
protected _fetchNextRequest(): Promise<Request<Dictionary<any>> | null>;
|
|
330
320
|
/**
|
|
331
321
|
* Wrapper around requestHandler that fetches requests from RequestList/RequestQueue
|
|
332
322
|
* then retries them in a case of an error, etc.
|
|
@@ -349,7 +339,8 @@ export declare class BasicCrawler<Context extends CrawlingContext = BasicCrawler
|
|
|
349
339
|
* Handles errors thrown by user provided requestHandler()
|
|
350
340
|
*/
|
|
351
341
|
protected _requestFunctionErrorHandler(error: Error, crawlingContext: Context, source: RequestList | RequestQueue): Promise<void>;
|
|
352
|
-
protected
|
|
342
|
+
protected _tagUserHandlerError<T>(cb: () => unknown): Promise<T>;
|
|
343
|
+
protected _handleFailedRequestHandler(crawlingContext: Context, error: Error): Promise<void>;
|
|
353
344
|
/**
|
|
354
345
|
* Updates handledRequestsCount from possibly stored counts,
|
|
355
346
|
* usually after worker migration. Since one of the stores
|
|
@@ -406,5 +397,30 @@ interface HandlePropertyNameChangeData<New, Old> {
|
|
|
406
397
|
propertyKey: string;
|
|
407
398
|
allowUndefined?: boolean;
|
|
408
399
|
}
|
|
400
|
+
/**
|
|
401
|
+
* Creates new {@link Router} instance that works based on request labels.
|
|
402
|
+
* This instance can then serve as a `requestHandler` of your {@link BasicCrawler}.
|
|
403
|
+
* Defaults to the {@link BasicCrawlingContext}.
|
|
404
|
+
*
|
|
405
|
+
* > Serves as a shortcut for using `Router.create<BasicCrawlingContext>()`.
|
|
406
|
+
*
|
|
407
|
+
* ```ts
|
|
408
|
+
* import { BasicCrawler, createBasicRouter } from 'crawlee';
|
|
409
|
+
*
|
|
410
|
+
* const router = createBasicRouter();
|
|
411
|
+
* router.addHandler('label-a', async (ctx) => {
|
|
412
|
+
* ctx.log.info('...');
|
|
413
|
+
* });
|
|
414
|
+
* router.addDefaultHandler(async (ctx) => {
|
|
415
|
+
* ctx.log.info('...');
|
|
416
|
+
* });
|
|
417
|
+
*
|
|
418
|
+
* const crawler = new BasicCrawler({
|
|
419
|
+
* requestHandler: router,
|
|
420
|
+
* });
|
|
421
|
+
* await crawler.run();
|
|
422
|
+
* ```
|
|
423
|
+
*/
|
|
424
|
+
export declare function createBasicRouter<Context extends BasicCrawlingContext = BasicCrawlingContext>(): RouterHandler<Context>;
|
|
409
425
|
export {};
|
|
410
426
|
//# sourceMappingURL=basic-crawler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic-crawler.d.ts","sourceRoot":"","sources":["../../src/internals/basic-crawler.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"basic-craw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