title: <urlopen error [Errno 11001] getaddrinfo failed>
body: <p>I'm new to python and I need help.When I'm trying to get stock data from yahoo finance,I get this error.Here is my code.Thanks for helping.</p>
  
  <pre><code>from matplotlib.mpl_finance import quotes_historical_yahoo_ochl
  from datetime import date
  import pandas as pd
  today=date.today()
  start=(today.year-2,today.month,today.day)
  quotesMS=quotes_historical_yahoo_ochl('MSFT',start,today)
  attributes=['date','open','close','high','low','volume']
  quotesdfMS=pd.DataFrame(quotesMS,columns=attributes)
  print(quotesdfMS)
  </code></pre>
  
  <p>and the problem is at the line 6</p>