Fix typo
This commit is contained in:
parent
53d4add980
commit
f19d249077
1 changed files with 3 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ import (
|
||||||
func main() {
|
func main() {
|
||||||
scraper := twitterscraper.New()
|
scraper := twitterscraper.New()
|
||||||
err := scraper.LoginOpenAccount()
|
err := scraper.LoginOpenAccount()
|
||||||
if err !== nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
for tweet := range scraper.GetTweets(context.Background(), "Twitter", 50) {
|
for tweet := range scraper.GetTweets(context.Background(), "Twitter", 50) {
|
||||||
|
|
@ -127,7 +127,7 @@ import (
|
||||||
func main() {
|
func main() {
|
||||||
scraper := twitterscraper.New()
|
scraper := twitterscraper.New()
|
||||||
err := scraper.Login(username, password)
|
err := scraper.Login(username, password)
|
||||||
if err !== nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
tweet, err := scraper.GetTweet("1328684389388185600")
|
tweet, err := scraper.GetTweet("1328684389388185600")
|
||||||
|
|
@ -223,7 +223,7 @@ import (
|
||||||
func main() {
|
func main() {
|
||||||
scraper := twitterscraper.New().SetSearchMode(twitterscraper.SearchUsers)
|
scraper := twitterscraper.New().SetSearchMode(twitterscraper.SearchUsers)
|
||||||
err := scraper.Login(username, password)
|
err := scraper.Login(username, password)
|
||||||
if err !== nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
for profile := range scraper.SearchProfiles(context.Background(), "Twitter", 50) {
|
for profile := range scraper.SearchProfiles(context.Background(), "Twitter", 50) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue