comment: use filenamify?
This commit is contained in:
parent
93d01bf5cf
commit
4fcbd6be6a
1 changed files with 1 additions and 1 deletions
2
util.js
2
util.js
|
|
@ -20,7 +20,7 @@ export const jsonDb = async file => {
|
|||
}
|
||||
|
||||
export const datetime = (d = new Date()) => d.toISOString();
|
||||
export const sanitizeFilename = s => s.replace(/[^a-z0-9_\-]/gi, '_');
|
||||
export const sanitizeFilename = s => s.replace(/[^a-z0-9_\-]/gi, '_'); // alternative: https://www.npmjs.com/package/filenamify
|
||||
|
||||
// stealth with playwright: https://github.com/berstend/puppeteer-extra/issues/454#issuecomment-917437212
|
||||
const newStealthContext = async (browser, contextOptions = {}, debug = false) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue