kopia lustrzana https://github.com/harvard-lil/archive.social
Restore video capture, tweak default settings
rodzic
b3719f92e2
commit
d812682556
|
@ -43,9 +43,9 @@ export class TwitterCapture {
|
||||||
ytDlpPath: `${EXECUTABLES_FOLDER}yt-dlp`,
|
ytDlpPath: `${EXECUTABLES_FOLDER}yt-dlp`,
|
||||||
timestampServerUrl: "http://timestamp.digicert.com",
|
timestampServerUrl: "http://timestamp.digicert.com",
|
||||||
networkidleTimeout: 5000,
|
networkidleTimeout: 5000,
|
||||||
browserBehaviorsTimeout: 30000,
|
browserBehaviorsTimeout: 35000,
|
||||||
videoCaptureTimeout: 10000,
|
videoCaptureTimeout: 10000,
|
||||||
renderTimeout: 2500
|
renderTimeout: 3000
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @type {object} - Based on TwitterCapture.defaults */
|
/** @type {object} - Based on TwitterCapture.defaults */
|
||||||
|
@ -150,7 +150,7 @@ export class TwitterCapture {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try to capture video, if any, and add it as attachment
|
// Try to capture video, if any, and add it as attachment
|
||||||
//await this.captureAndAddVideoToPDF(editablePDF);
|
await this.captureAndAddVideoToPDF(editablePDF);
|
||||||
|
|
||||||
// Freeze edited PDF in memory
|
// Freeze edited PDF in memory
|
||||||
editedPDF = await editablePDF.save();
|
editedPDF = await editablePDF.save();
|
||||||
|
|
Ładowanie…
Reference in New Issue