'How to crawl 'ETFdb.com' Data series
url = "https://etfdb.com/etf/SPY"
html = requests.get(url).text
soup = bs4.BeautifulSoup(html, "html5lib")
dataSeries = soup.find_all('div', attrs={ 'data-series': True })
print(dataSeries)
print(dataSeries.text)
dataSeries show some list of numbers, but dataSeries.text didnt show
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
