mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-14 02:10:04 +00:00
fix page crawling encoding
This commit is contained in:
@@ -457,7 +457,7 @@ func (s *Server) handlePageCrawl(c *router.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
res, err := http.Get(url)
|
||||
res, err := worker.GetHTTP(url)
|
||||
if err != nil {
|
||||
log.Print(err)
|
||||
c.Out.WriteHeader(http.StatusBadRequest)
|
||||
|
Reference in New Issue
Block a user