Merge pull request #916 from getmaxun/ss-scrape

feat: add scrape screenshot support
This commit is contained in:
Karishma Shukla
2025-12-05 23:20:51 +05:30
committed by GitHub
12 changed files with 281 additions and 56 deletions

View File

@@ -456,7 +456,7 @@ router.post('/recordings/scrape', requireSignIn, async (req: AuthenticatedReques
}
// Validate format
const validFormats = ['markdown', 'html'];
const validFormats = ['markdown', 'html', 'screenshot-visible', 'screenshot-fullpage'];
if (!Array.isArray(formats) || formats.length === 0) {
return res.status(400).json({ error: 'At least one output format must be selected.' });