Using Jupyter Notebook to Create our Client List
Below is the code I used in a Jupyter Notebook in order to get a .csv spreadsheet directly from the HTML code in yellowpages.com.
All of the lines of Python code have been executed, showing exactly what the process looks like once it’s completed. Certain sections of the notebook will appear quite long here (particularly the printed out section showing that the HTML code has successfully made it into the notebook). I would recommend downloading the file here or on the project’s main page. From there, you can load it into a notebook of your own.