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

@ -21,7 +21,7 @@ func TestGetTweets(t *testing.T) {
maxTweetsNbr := 300
dupcheck := make(map[string]bool)
scraper := twitterscraper.New()
err := scraper.LoginOpenAccount()
_, err := scraper.LoginOpenAccount()
if err != nil {
t.Fatalf("LoginOpenAccount() error = %v", err)
}