Scraping Domains
In this lesson, you will build a proper automated scraper to store domain name data in a csv file.
We'll cover the following...
The website namebio.com will be scraped in this lesson. This site contains the domain name information like which domain is sold when, for what price, and where it is parked. In free mode, we can look at one-hundred data points with four columns of data which include the domain name, domain price, date it is sold, and the site where the domain is parked. The data is displayed and available in the form of a table like in the following image.
Writing the scraper
As can be seen in the above image, to get to the next table of domains, the next number button needs to be clicked and this is where the real power of selenium comes into play. Each and every button on the webpage can be clicked simply by finding its xpath and clicking the button using the click() function. Let’s see this in action.
The above code automates the ...