Skip to content

Commit d4082ad

Browse files
committed
book scraper with pagination functionality completed
1 parent 41b055c commit d4082ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bookScraper/bookScraper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function getBooks(url) {
3131
book_data.push({ title, price, stock });
3232
});
3333

34-
// this is where the next page url comes in to effect
34+
// this is where pagination happens
3535
if ($(".next a").length > 0) {
3636
next_page = baseUrl + $(".next a").attr("href");
3737

0 commit comments

Comments
 (0)