【发布时间】:2017-03-23 15:59:18
【问题描述】:
我正在使用 BeautifulSoup 从 yahoo Finance 抓取过去 5 天的数据。 Here is the link 但我没有得到任何数据。结果给出了除了生成的数据之外的所有内容。 这是我尝试过的:
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')
【问题讨论】:
标签: python web-scraping beautifulsoup yahoo-finance