Web Scraping Amazon Product
This was a project was created to test out web scraping.
I decided to test out web scraping using an amazon book. The code created is used to scrape data from the Amazon
product page and to display this data back within the terminal the image URL,
product title and the price of the product.
Technologies:
- - JavaScript
Code
Terminal Output
Amazon Product
Xpath
In order to successfully web scrape the desired information, I had to copy the Xpath of the image,
title and price of the product.
This was done by selecting the section I would like to gather data from and inspect the element.
The element selected would highlight the part of the code I need to copy the Xpath from within the browser terminal.