Open liuzeng01 opened 4 years ago
Sometimes we would build one request that having different request header ,but the antch don't have this setting method .Yeah ,Can we add this function in the antch spider?Just like doing one interface in the crawler settings.
you can make a middleware to sets request header, like Compression middleware.
Compression
https://github.com/antchfx/antch/blob/master/compression.go
Sometimes we would build one request that having different request header ,but the antch don't have this setting method .Yeah ,Can we add this function in the antch spider?Just like doing one interface in the crawler settings.