New to programming and trying to learn Python using ATBS and the web. I am running into the issue when I send requests, I get blanks in return? I asked Reddit and even download the file as a .txt file in which I found two mentions of the number I was trying to find. But the CSS path selector that I am obtaining is outputting []? I am finding other mention of the number via HTML but not the section of the html I am after.
Questions:
Code source and website html images: [1]: https://i.sstatic.net/ABIq0.png [2]: https://i.sstatic.net/3I109.png
Thanks.
Here is the website from which I am trying to get the stock price number from: https://www.nzx.com/instruments/WBC also tried getting it from google, but had not luck: https://www.google.co.nz/search?q=westpac+nz+share+price&iflsig=AJiK0e8AAAAAYyxCN7k8VlOKPGk8EhszcUZWbOuzsBM4&ved=0ahUKEwjNkKj2k6j6AhWNDt4KHUPcD8sQ4dUDCAg&uact=5&oq=westpac+nz+share+price&sclient=gws-wiz
In firefox copy CSS selector not CSS path. As mentioned in the video, I just happened to overlook it. Using CSS selector I was able to get the answer I was after.