Make sure accept-encoding is sent
This commit is contained in:
parent
85d5d1bc36
commit
a7c9aba58d
@ -38,7 +38,8 @@ func main() {
|
||||
// Create crawler
|
||||
malCrawler := crawler.New(
|
||||
map[string]string{
|
||||
"User-Agent": userAgent,
|
||||
"User-Agent": userAgent,
|
||||
"Accept-Encoding": "gzip",
|
||||
},
|
||||
1500*time.Millisecond,
|
||||
len(animes),
|
||||
|
Loading…
Reference in New Issue
Block a user