Project 5:Web Scraping to CSV | Multiple Pages Scraping with BeautifulSoup

In this project I had to scrape multiple web pages using BeautifulSoup and export the results to a CSV file using Pandas Library. We use books.toscrape.com as the web scraping playground. Prices and ratings of the books have been randomly assigned and have no real meaning.

The website is investigated by first checking the elements with “Inspect” to see how the required data are tagged with which HTML tag element. From website we get access to the alt attribute of the images and the name of the classes. A total of 51 pages are scrapped