Web Scraping Nintendolife 71269
Scraping The Top Games from Nintendolife.com using BeautifulSoup
By Uday Sidhu
Objective: To Retrieve the names, ratings, and page URLs for the top games listed on nintendolife.com.
Nintendolife.com is a website pertaining to everything Nintendo. It hosts the latest news, announcements, guides, and reviews of the latest games released or coming to a Nintendo platform. It also hosts a list of the top rated games of all time. This is the list that we are going to be scraping in this project.
What is web scraping?
Web scraping is the process of collecting structured web data in an automated fashion. It’s also called web data extraction. Some of the main use cases of web scraping include price monitoring, price intelligence, news monitoring, lead generation, and market research among many others. In this project we use python libraries
BeautifulSoup4 to retrive and parse HTML pages and obtain the desired information.
- Retrieve web-page using
BeautifulSoup4to parse the webpage thus obtained.
- Obtain the required information such as game name, game page URL, and rating.
- Store obtained information in the form of a dictionary.
- Write extracted information to a .csv file.
- Consolidate the code into functions and get entries from a specific page number.
!pip install jovian --upgrade --quiet
# Execute this to save new versions of the notebook jovian.commit(project="Web-Scraping-nintendolife.com")
[jovian] Creating a new project "udaysidhu1/Web-Scraping-nintendolife.com" [jovian] Committed successfully! https://jovian.ai/udaysidhu1/web-scraping-nintendolife-71269