We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a274a11 commit 952729bCopy full SHA for 952729b
content/academy/web_scraping_for_beginners/challenge/initializing_and_setting_up.md
@@ -44,7 +44,14 @@ await crawler.addRequests([
44
]);
45
46
log.info('Starting the crawl.');
47
-await crawler.run();
+await crawler.run([{
48
+ // Turn the keyword into a link we can make a request with
49
+ url: `https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=${keyword}`,
50
+ label: 'START',
51
+ userData: {
52
+ keyword,
53
+ },
54
+}]);
55
log.info('Crawl finished.');
56
```
57
0 commit comments