Project 0093

by Sylvie X


This program uses Beautiful Soup 4 library to scrape the html web contents of shampoo websites and the lxml parser. When started, users will be prompted to choose from options 1 - 5 (oily, dry, dull, thinning, and color-treated hairs) to get the best recommended shampoos that suit each hair type's needs - list returned as a Shampoo.csv file and printed on python terminal. An added feature in option 6 allows user to key in a specific shampoo's name that they are interested in, then prints a list of shampoos containing the given key word (non case-sensitive).