You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Какая то странная ошибка при авторизации, как я понял при получение токена Вк требует ввода номера телефона.
api = vk_requests.create_api(app_id=self.app_id, login=account['login'], password=account['password'])
File "/Users/leary/Prog/PythonProjects/Test/scripts/vk_account.py", line 28, in __connect_to_account
self.api = vk_requests.create_api(app_id=self.app_id,
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/vk_requests/__init__.py", line 50, in create_api
session = VKSession(app_id=app_id,
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/vk_requests/session.py", line 64, in __init__
self.renew_access_token()
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/vk_requests/session.py", line 402, in renew_access_token
self._access_token = self._get_access_token()
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/vk_requests/session.py", line 373, in _get_access_token
url_query_params = self.do_implicit_flow_authorization(session=s)
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/vk_requests/session.py", line 169, in do_implicit_flow_authorization
response = session.get(action_url)
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/vk_requests/utils.py", line 148, in request
response = super(VerboseHTTPSession, self).request(
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/requests/sessions.py", line 528, in request
prep = self.prepare_request(req)
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/requests/sessions.py", line 456, in prepare_request
p.prepare(
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/requests/models.py", line 316, in prepare
self.prepare_url(url, params)
File "/Users/leary/Prog/PythonProjects/Test/env/lib/python3.8/site-packages/requests/models.py", line 390, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '/login?act=blocked_phone&hash=8677d67e3becd1c3a6': No schema supplied. Perhaps you meant http:///login?act=blocked_phone&hash=8677d67e3becd1c3a6?
The text was updated successfully, but these errors were encountered:
Какая то странная ошибка при авторизации, как я понял при получение токена Вк требует ввода номера телефона.
The text was updated successfully, but these errors were encountered: