0
我正在使用BeautifulSoup从雅虎财务中提取最近5天的数据。 Here is the link但我没有收到任何数据。除了生成的数据之外,结果会生成一切。 这是我的尝试:在Python中使用BeautifulSoup从雅虎财务中刮取数据
url = "https://in.finance.yahoo.com/quote/20MICRONS.NS/history?period1=1199125800&period2=1490207400&interval=1d&filter=history&frequency=1d"
request = urllib.request.Request(url,None,headers)
response = urllib.request.urlopen(request).read()
soup = BeautifulSoup(response, 'html.parser')
你试过了什么。 –