diff --git a/src/lib/parser.js b/src/lib/parser.js index 997e2f9..5fc0afd 100644 --- a/src/lib/parser.js +++ b/src/lib/parser.js @@ -15,10 +15,10 @@ const getRandomUserAgent = () => { const config = { headers: { 'User-Agent': getRandomUserAgent(), - 'Accept': + Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'Accept-Encoding': 'gzip, deflate, br', - 'Connection': 'keep-alive', + Connection: 'keep-alive', }, validateStatus: function (status) { return status >= 200 && status < 300;