Merge pull request #1 from imperatrona/open-account

Reusing open account
This commit is contained in:
Valentine 2024-01-28 23:39:48 +03:00 committed by GitHub
commit d45ac95957
5 changed files with 45 additions and 22 deletions

View file

@ -52,7 +52,9 @@ func TestAuth(t *testing.T) {
func TestLoginOpenAccount(t *testing.T) {
scraper := twitterscraper.New()
if err := scraper.LoginOpenAccount(); err != nil {
_, err := scraper.LoginOpenAccount()
if err != nil {
t.Fatalf("LoginOpenAccount() error = %v", err)
}
}