Add accept gzip header to readability server

This commit is contained in:
2022-07-04 19:06:00 +00:00
parent 8e775c189f
commit e65047fead
2 changed files with 39 additions and 26 deletions

View File

@@ -35,6 +35,7 @@ app.post('/', (req, res) => {
const url = req.body.url;
const requestOptions = {
url: url,
gzip: true,
//headers: {'User-Agent': 'Googlebot/2.1 (+http://www.google.com/bot.html)'},
//headers: {'User-Agent': 'Twitterbot/1.0'},
headers: {