Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Found #40

Open
Fulvioo opened this issue Nov 21, 2017 · 2 comments
Open

Not Found #40

Fulvioo opened this issue Nov 21, 2017 · 2 comments

Comments

@Fulvioo
Copy link

Fulvioo commented Nov 21, 2017

Hello, I have just installed Google Finance (I was previously using the Yahoo's equivalent, that is not working anymore), but all my tries (just merely following your ##Usage example ) are giving the same kind of error:

runfile('Shares_Downloader_MIB40_dev.py', wdir='/ftmib40')
Traceback (most recent call last):

  File "<ipython-input-18-ec8e138cfcad>", line 1, in <module>
    runfile('Shares_Downloader_MIB40_dev.py', wdir='/ftmib40')

  File "sitecustomize.py", line 710, in runfile
    execfile(filename, namespace)

  File "sitecustomize.py", line 101, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "Shares_Downloader_MIB40_dev.py", line 11, in <module>
    quotes = getQuotes('AAPL')

  File "\googlefinance\__init__.py", line 70, in getQuotes
    content = json.loads(request(symbols))

  File "\googlefinance\__init__.py", line 33, in request
    resp = urlopen(req)

  File "request.py", line 223, in urlopen
    return opener.open(url, data, timeout)

  File "request.py", line 532, in open
    response = meth(req, response)

  File "\request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)

  File "request.py", line 570, in error
    return self._call_chain(*args)

  File "request.py", line 504, in _call_chain
    result = func(*args)

  File "request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

HTTPError: Not Found

Any idea?

p.s. I have also tried with 'https' , but that's not changing

@scotthernandez
Copy link

This looks like a dup of #39; the api endpoint has changed/gone.

@addisonlynch
Copy link

Would recommend IEX as an alternative. Here's a similar Python wrapper for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants