Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c4b2402

Browse files
committed
Update README.md
1 parent e45682f commit c4b2402

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ Universal Login for almost all HTTP/HTTPS form-based logins and HTTP Basic Authe
6363
import hacklib
6464

6565
ac = hacklib.AuthClient()
66+
# Logging into a gmail account
6667
htmldata = ac.login('https://gmail.com', 'email', 'password')
6768

68-
# For form-based logins, returns HTML whether login works or not.
6969
# Returns False if resulting page has the same URL as the login page
70+
# Otherwise, returns HTML whether login works or not.
7071
if htmldata and 'Inbox' in htmldata:
7172
print 'Login Success'
7273

0 commit comments

Comments
 (0)