Fix search again
This commit is contained in:
parent
61f2b78e2b
commit
ed0a19c7de
2 changed files with 2 additions and 13 deletions
9
util.go
9
util.go
|
|
@ -5,7 +5,6 @@ import (
|
|||
"net/http"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
@ -82,10 +81,6 @@ func getUserTimeline(ctx context.Context, query string, maxProfilesNbr int, fetc
|
|||
break
|
||||
}
|
||||
|
||||
if strings.HasPrefix(next, "scroll:") {
|
||||
continue
|
||||
}
|
||||
|
||||
for _, profile := range profiles {
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
|
|
@ -131,10 +126,6 @@ func getTweetTimeline(ctx context.Context, query string, maxTweetsNbr int, fetch
|
|||
break
|
||||
}
|
||||
|
||||
if strings.HasPrefix(next, "scroll:") {
|
||||
continue
|
||||
}
|
||||
|
||||
for _, tweet := range tweets {
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue