+ 1

Web Scraping

Hi guys. New to this but here is the html I’m trying to scrape from. I specifically want the number 15.28. Here is my code ass well. Giving me nothing in return. Thanks </div>

15.28 01 7
import bs4 import requests from urllib.request import urlopen as uReq from bs4 import BeautifulSoup as soup url1 = 'https://www1.oanda.com/currency/live-exchange-rates/USDZAR/' uClient1 = uReq(url1) page_html1 = uClient1.read() uClient1.close() page_soup1 = soup(page_html1, "html.parser") data = page_soup1.find("div", { "class" : "quote-price" })

9th Jan 2021, 8:27 AM
1 Answer
+ 2
Did you checked the source code ? Well I did and didn't found any value in that piece of code you are trying to extract
9th Jan 2021, 9:31 AM
Abhay - avatar