From 33db2509374e5bcfb0062783aa3d40fa82f32e86 Mon Sep 17 00:00:00 2001 From: CharlesPikachu <1159254961@qq.com> Date: Tue, 5 Mar 2019 20:15:04 +0800 Subject: [PATCH] fix a bug --- DecryptLogin/platforms/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DecryptLogin/platforms/github.py b/DecryptLogin/platforms/github.py index 42db246..a17b542 100644 --- a/DecryptLogin/platforms/github.py +++ b/DecryptLogin/platforms/github.py @@ -63,7 +63,7 @@ class github(): 'password': password } res = self.session.post(self.post_url, headers=self.login_headers, data=data) - if res.status_code == 200: + if res.status_code == 200 and 'Sign in to GitHub ยท GitHub' not in res.text: print('[INFO]: Account -> %s, login successfully...' % username) return self.session else: