Skip to content

Commit 9b15c73

Browse files
committed
Fix phone check
1 parent ce001c3 commit 9b15c73

3 files changed

Lines changed: 3 additions & 3 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='4.7.5',
15+
version='4.7.6',
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__ = '4.7.5'
12+
__version__ = '4.7.6'
1313
__email__ = 'siberianpython@gmail.com'
1414
__contact__ = 'https://vk.com/python273'
1515

vk_api/vk_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def security_check(self, url=None, response=None):
132132
if not 'security_check' in response.url:
133133
return
134134

135-
phone_prefix = regexp(r'label ta_r">(.*?)<',
135+
phone_prefix = regexp(r'phone_number">(.*?)<',
136136
response.text)
137137
phone_prefix = phone_prefix[0].strip()
138138

0 commit comments

Comments
 (0)