feat: return open account

This commit is contained in:
Thalles 2023-10-08 21:58:48 -03:00
parent 87180a4cfc
commit c8ad9a0410
5 changed files with 29 additions and 22 deletions

View file

@ -82,7 +82,7 @@ scraper.IsLoggedIn()
If you don't want to use your account, you can try login as a Twitter app:
```golang
err := scraper.LoginOpenAccount()
account, err := scraper.LoginOpenAccount()
```
### Get user tweets
@ -98,7 +98,7 @@ import (
func main() {
scraper := twitterscraper.New()
err := scraper.LoginOpenAccount()
account, err := scraper.LoginOpenAccount()
if err != nil {
panic(err)
}