Skip to content

Commit 6dc95c3

Browse files
committed
feat: update crawling to be about JS
1 parent 74b78cc commit 6dc95c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sources/academy/webscraping/scraping_basics_javascript2/10_crawling.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,10 @@ const $ = await download(listingURL);
156156
const $promises = $(".product-item").map(async (i, element) => {
157157
const $productItem = $(element);
158158
const item = parseProduct($productItem, listingURL);
159-
160159
// highlight-next-line
161160
const $p = await download(item.url);
162161
// highlight-next-line
163162
item.vendor = $p(".product-meta__vendor").text().trim();
164-
165163
return item;
166164
});
167165
const data = await Promise.all($promises.get());

0 commit comments

Comments
 (0)