mirror of
https://github.com/vysecurity/LinkedInt.git
synced 2025-12-07 09:22:20 +01:00
Except the exception as e
This commit is contained in:
parent
89ab1d32d1
commit
81166ed42b
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ def authenticate():
|
||||||
sys.exit("[!] Unable to login to LinkedIn.com")
|
sys.exit("[!] Unable to login to LinkedIn.com")
|
||||||
print("[*] Obtained new session")
|
print("[*] Obtained new session")
|
||||||
cookies = dict(li_at=session)
|
cookies = dict(li_at=session)
|
||||||
except Exception:
|
except Exception as e:
|
||||||
sys.exit("[!] Could not authenticate to linkedin. %s" % e)
|
sys.exit("[!] Could not authenticate to linkedin. %s" % e)
|
||||||
return cookies
|
return cookies
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue