[Solved] Python – ETFs Daily Data Web Scraping
Yes, I agree that Beautiful Soup is a good approach. Here is some Python code which uses the Beautiful Soup library to extract the intraday price from the IVV fund page: import requests from bs4 import BeautifulSoup r = requests.get(“https://www.marketwatch.com/investing/fund/ivv”) html = r.text soup = BeautifulSoup(html, “html.parser”) if soup.h1.string == “Pardon Our Interruption…”: print(“They detected … Read more