Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Smith <mrdoctorwho@helldev.net>2022-09-03 15:19:09 +0300
committerJohn Smith <mrdoctorwho@helldev.net>2022-09-03 15:19:09 +0300
commit542abe296ea78d513df75bac80158c8c024d6f72 (patch)
tree2b7b1275af88fbe78b243f0a28631da2f8e72d9c /library
parente8f25a16832adb6b93fe8b50afdc9547e429389b (diff)
Update token processing logicHEADmaster
Diffstat (limited to 'library')
-rw-r--r--library/vkapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/vkapi.py b/library/vkapi.py
index 867afe2..20e8438 100644
--- a/library/vkapi.py
+++ b/library/vkapi.py
@@ -37,7 +37,7 @@ socket.setdefaulttimeout(SOCKET_TIMEOUT)
logger = logging.getLogger("vk4xmpp")
-token_exp = re.compile("(([\da-f]+){11,})", re.IGNORECASE)
+token_exp = re.compile(r"access_token\=(([0-9a-zA-Z\-\._]+))")
ERRORS = (httplib.BadStatusLine,
urllib2.URLError,