mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Merge pull request #2125 from ZhenShuo2021/chore/smaller-repo
🩹 Chore: tweak processUsers.js to reduce feature image size (#980)
This commit is contained in:
@@ -140,7 +140,7 @@ puppeteer
|
||||
fs.writeFileSync(dir + '/index.' + targetLangs[j] + '.md', content);
|
||||
}
|
||||
await page.goto(users[i].url);
|
||||
await page.screenshot({ path: dir + "/feature.jpg" });
|
||||
await page.screenshot({ path: dir + "/feature.jpg", type: 'webp', quality: 50, });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user