Support 2FA

Close #106
This commit is contained in:
Alexander Sheiko 2023-06-12 18:23:26 +03:00
parent d9d8ee67b6
commit 15e5f233b7
2 changed files with 30 additions and 13 deletions

View file

@ -196,6 +196,12 @@ But if you have email confirmation, use email address in addition:
err := scraper.Login("username", "password", "email")
```
If you have two-factor authentication, use code:
```golang
err := scraper.Login("username", "password", "code")
```
Status of login can be checked with:
```golang