Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
n0madic committed Jul 11, 2023
1 parent 6323608 commit 94503a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ import (
func main() {
scraper := twitterscraper.New()
err := scraper.LoginOpenAccount()
if err !== nil {
if err != nil {
panic(err)
}
for tweet := range scraper.GetTweets(context.Background(), "Twitter", 50) {
Expand Down Expand Up @@ -127,7 +127,7 @@ import (
func main() {
scraper := twitterscraper.New()
err := scraper.Login(username, password)
if err !== nil {
if err != nil {
panic(err)
}
tweet, err := scraper.GetTweet("1328684389388185600")
Expand Down Expand Up @@ -223,7 +223,7 @@ import (
func main() {
scraper := twitterscraper.New().SetSearchMode(twitterscraper.SearchUsers)
err := scraper.Login(username, password)
if err !== nil {
if err != nil {
panic(err)
}
for profile := range scraper.SearchProfiles(context.Background(), "Twitter", 50) {
Expand Down

0 comments on commit 94503a2

Please sign in to comment.