Fix search again

This commit is contained in:
Alexander Sheiko 2023-05-07 17:46:01 +03:00
parent 61f2b78e2b
commit ed0a19c7de
2 changed files with 2 additions and 13 deletions

View file

@ -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():