So finally, we arrive at the demo that ties it all together.
We'll use a combination of Python, Selenium,
and Beautiful Soup to extract information from a dynamic web page.
So what information are we going to extract today?
We are going to extract some basic stats and news
headlines for a footballer named Wayne Rooney.
For those of you who don't know him,
Wayne Rooney is an English football player who started his career with
a club named Everton in the English Premier League.
He then moved to one of the biggest clubs in world football, Manchester United.
After staying with United for over a decade,
he moved back to Everton and is now applying his trade in the
United States Major League Soccer with D.C.
United.
Before we get into the coding,
let's manually navigate to the data we are going to collect.
Here's the website for the English Premier League.
Here, we'll click on the Players tab.
We'll then type in Wayne Rooney's name into the search box.
There he is.
Clicking on his name opens up the page that gives you
an overview of his career and stats.
If you scroll down,
you can see the latest headlines about Rooney with news and videos.
That is useful information.
We'll go up and click on Stats,
which gives us a great view of his career stats in the Premier League.
All these are what we are going to extract today.
Looks like we've got a fair bit to do.
Let's get cracking.