8000 get_historical_prices not working · Issue #47 · cgoldberg/ystockquote · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
get_historical_prices not working #47
Open
@ifuchs

Description

@ifuchs

As of this week, get_historical_prices seems to either timeout or give URL not found responses.
I have tried from several platforms with the same results. Can others reproduce the error? Does anyone know the cause or a solution?

pprint(ystockquote.get_historical_prices('GOOGL', '2013-01-03', '2013-01-08'))
Traceback (most recent call last):
File "", line 1, in
File "//anaconda/lib/python2.7/site-packages/ystockquote.py", line 486, in get_historical_prices
resp = urlopen(req)
File "//anaconda/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "//anaconda/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "//anaconda/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "//anaconda/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "//anaconda/lib/python2.7/urllib2.py", line 1227, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "//anaconda/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 60] Operation timed out>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0