Fix search

This commit is contained in:
Alexander Sheiko 2023-02-16 11:15:13 +02:00
parent 96325b0173
commit 7d5b51da84
2 changed files with 18 additions and 1 deletions

View file

@ -41,7 +41,9 @@ func (s *Scraper) getSearchTimeline(query string, maxNbr int, cursor string) (*t
q.Add("count", strconv.Itoa(maxNbr))
q.Add("query_source", "typed_query")
q.Add("pc", "1")
q.Add("requestContext", "launch")
q.Add("spelling_corrections", "1")
q.Add("include_ext_edit_control", "true")
if cursor != "" {
q.Add("cursor", cursor)
}