Skip to content

Commit 3f8aad6

Browse files
committed
Merge pull request #10 from python273/dev
Dev
2 parents f401058 + 0f67856 commit 3f8aad6

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from distutils.core import setup
1313
setup(
1414
name='vk_api',
15-
version='5.0.0',
15+
version='5.0.1',
1616
author='Kirill Python',
1717
author_email='siberianpython@gmail.com',
1818
url='https://github.com/python273/vk_api',

vk_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111
__author__ = 'Kirill Python'
12-
__version__ = '5.0.0'
12+
__version__ = '5.0.1'
1313
__email__ = 'siberianpython@gmail.com'
1414
__contact__ = 'https://vk.com/python273'
1515

vk_api/vk_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,14 @@ def vk_login(self, captcha_sid=None, captcha_key=None):
111111
self.http.cookies.clear()
112112
response = self.http.post(url, values)
113113

114+
remixsid = None
115+
114116
if 'remixsid' in self.http.cookies:
115117
remixsid = self.http.cookies['remixsid']
118+
elif 'remixsid6' in self.http.cookies: # ipv6?
119+
remixsid = self.http.cookies['remixsid6']
120+
121+
if remixsid:
116122
self.settings['remixsid'] = remixsid
117123

118124
# Нужно для авторизации в API

0 commit comments

Comments
 (0)