Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e45682f commit c4b2402Copy full SHA for c4b2402
README.md
@@ -63,10 +63,11 @@ Universal Login for almost all HTTP/HTTPS form-based logins and HTTP Basic Authe
63
import hacklib
64
65
ac = hacklib.AuthClient()
66
+# Logging into a gmail account
67
htmldata = ac.login('https://gmail.com', 'email', 'password')
68
-# For form-based logins, returns HTML whether login works or not.
69
# Returns False if resulting page has the same URL as the login page
70
+# Otherwise, returns HTML whether login works or not.
71
if htmldata and 'Inbox' in htmldata:
72
print 'Login Success'
73
0 commit comments