Improve login flow

support LoginAcid task
This commit is contained in:
Alexander Sheiko 2023-05-10 21:48:41 +03:00
parent 3bb78070b7
commit e86c2fa4ce
5 changed files with 58 additions and 7 deletions

View file

@ -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