We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4b0877 commit cd7fc60Copy full SHA for cd7fc60
1 file changed
vk_api/vk_api.py
@@ -19,7 +19,7 @@
19
HTTP_ERROR_CODE = -1
20
21
RE_CAPTCHAID = re.compile(r'sid=(\d+)')
22
-RE_NUMBER_HASH = re.compile(r'security_check.*?hash: \'(.*?)\'\};')
+RE_NUMBER_HASH = re.compile(r"al_page: '3', hash: '([a-z0-9]+)'")
23
RE_TOKEN_URL = re.compile(r'location\.href = "(.*?)"\+addr;')
24
25
RE_PHONE_PREFIX = re.compile(r'phone_number">(.*?)<')
0 commit comments