Skip to content

Google API issues. #152

@ghost

Description

When using a browser/website API key, I get error 403 forbidden.

When using a server API key, I get error 403 forbidden.

Unhandled exception in thread started by <function run at 0x6f8699a9baa0>
Traceback (most recent call last):
  File "core/main.py", line 78, in run
    out = func(input.inp, **kw)
  File "plugins/youtube.py", line 76, in youtube
    j = http.get_json(search_api_url, **params)
  File "plugins/util/http.py", line 42, in get_json
    return json.loads(get(*args, **kwargs))
  File "plugins/util/http.py", line 30, in get
    return open(*args, **kwargs).read()
  File "plugins/util/http.py", line 84, in open
    return opener.open(request)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/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 403: Forbidden

How exactly do you set up the google plugin?
I'm getting my api keys from here:
https://console.developers.google.com/apis/credentials

Thanks :)

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