Skip to content

Commit

Permalink
Use proper zstd.dict accept-encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikidepia committed Jul 20, 2024
1 parent a573482 commit c59b049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/scraper/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (i *InstaData) ScrapeData() error {
if err != nil {
return err
}
req.Header.Set("Accept-Encoding", "zstd")
req.Header.Set("Accept-Encoding", "zstd.dict")
res, err := client.Do(req)
if res != nil && res.StatusCode == 200 {
defer res.Body.Close()
Expand Down

0 comments on commit c59b049

Please sign in to comment.