title: ystockquote.py urllib2.HTTPError: HTTP Error 404: Not Found
body: <p>I am using ystockquote.py which is the Yahoo Finance API created by Corey Goldberg. I was importing the module and when I tried doing</p>
  
  <pre><code>ystockquote.get_historical_prices('GOOG', '2013-01-03', '2013-01-08')
  </code></pre>
  
  <p>I get an error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "ystockquote.py", line 485, in get_historical_prices
      resp = urlopen(req)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
      return _opener.open(url, data, timeout)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
      response = meth(req, response)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
      'http', request, response, code, msg, hdrs)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
      return self._call_chain(*args)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
      result = func(*args)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
      raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  urllib2.HTTPError: HTTP Error 404: Not Found
  </code></pre>
  
  <p>I have no idea what is wrong since I believe the API was created correctly as Goldberg as displayed on github the correct result. The older version of ystockquote.py by Corey Goldberg is also giving the error. </p>