


The first step is to import those packages.
#Chem webook code
Now you are ready for opening up your code editor and follow the explanation. BeautifulSoup for handling the HTML filtering.request for performing the HTTP requests.The task you need to do previously is checking if you have the next two packages and download them if not. Even so, I feel understanding basic HTML and CSS selectors is key in nowadays world. Whether you understand or not the language Internet is coding with, there are libraries and modules written for all the popular programming languages simplifying the process to a few lines of code. The web scraping process is nothing else that the classic copy and paste you maybe used in school for doing homework, but take it to the next level using algorithms that understand website structure and are capable to filter and storage it into variables. Note: References to better articles and explanations are listed at the bottom What is Web Scraping You can find all the code on my github repo NIST-web-book-scraping However, if any of the readers want to get another data from the same or different source, I hope the explanation showed below will be good enough for them to achieve it. Department of Commerce Online Chemistry Webbook. With this idea on mind it was built a small script for extracting the Antoine Equation Parameters from the National Institute of Standards and Technology of the U.S.
