Improve login flow
support LoginAcid task
This commit is contained in:
parent
3bb78070b7
commit
e86c2fa4ce
5 changed files with 58 additions and 7 deletions
|
|
@ -177,6 +177,13 @@ It is also required to search.
|
|||
err := scraper.Login("username", "password")
|
||||
```
|
||||
|
||||
Use username to login, not email!
|
||||
But if you have email confirmation, use email address in addition:
|
||||
|
||||
```golang
|
||||
err := scraper.Login("username", "password", "email")
|
||||
```
|
||||
|
||||
Status of login can be checked with:
|
||||
|
||||
```golang
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue