SUMMARY: The purpose of this project is to practice web scraping by gathering specific pieces of information from a website. The web scraping code was written in R and leveraged the rvest package.
INTRODUCTION: Dr. Jason Brownlee’s Machine Learning Mastery hosts its tutorial lessons at https://machinelearningmastery.com/blog. The purpose of this exercise is to practice web scraping by gathering the blog entries from Machine Learning Mastery’s RSS feed. This iteration of the script automatically traverses the web pages to capture all blog entries and store all captured information in a JSON output file.
Starting URLs: https://machinelearningmastery.com/feed or https:// machinelearningmastery.com /feed/?paged=1
The source code and JSON output can be found here on GitHub.