Skip to content

Commit e96ffb0

Browse files
committed
Change app
1 parent 0555894 commit e96ffb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vk_api/vk_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class VkApi(object):
4646
def __init__(self, login=None, password=None, token=None,
4747
auth_handler=None, captcha_handler=None,
4848
config=jconfig.Config, config_filename='vk_config.v2.json',
49-
api_version='5.67', app_id=2895443, scope=33554431,
49+
api_version='5.67', app_id=6222115, scope=140492191,
5050
client_secret=None):
5151
"""
5252
:param login: Логин ВКонтакте (лучше использовать номер телефона для
@@ -92,8 +92,8 @@ def __init__(self, login=None, password=None, token=None,
9292

9393
self.http = requests.Session()
9494
self.http.headers.update({
95-
'User-agent': 'Mozilla/5.0 (Windows NT 6.1; rv:40.0) '
96-
'Gecko/20100101 Firefox/40.0'
95+
'User-agent': 'Mozilla/5.0 (Windows NT 6.1; rv:52.0) '
96+
'Gecko/20100101 Firefox/52.0'
9797
})
9898

9999
self.last_request = 0.0

0 commit comments

Comments
 (0)