Fix typo
This commit is contained in:
parent
26275b5d42
commit
24811aeec7
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
scraper := twitterscraper.New().SetSearchMode(twitterscraper.SearchUsers)
|
scraper := twitterscraper.New().SetSearchMode(twitterscraper.SearchUsers)
|
||||||
for profile := range scraper.SearchUsers(context.Background(), "Twitter", 50) {
|
for profile := range scraper.SearchProfiles(context.Background(), "Twitter", 50) {
|
||||||
if profile.Error != nil {
|
if profile.Error != nil {
|
||||||
panic(profile.Error)
|
panic(profile.Error)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue