def METHOD_NAME(query, _lang):
    # brave search autocompleter
    url = 'https://search.brave.com/api/suggest?'
    url += urlencode({'q': query})
    country = 'all'
    # if lang in _brave:
    #    country = lang
    kwargs = {'cookies': {'country': country}}
    resp = get(url, **kwargs)
    results = []
    if resp.ok:
        data = resp.json()
        for item in data[1]:
            results.append(item)
    return results