Import Instagram archive to a Bluesky account
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add video size validation to InstagramVideoProcessor

- Implement video size validation before processing
- Throw an error if the video exceeds size limits
- Enhance media processing robustness with size check

+4
+4
src/media/media.ts
··· 222 222 223 223 const mediaBuffer = getMediaBuffer(archiveFolder, media); 224 224 225 + if(validateVideo(mediaBuffer!)) { 226 + throw Error('Video too large.') 227 + } 228 + 225 229 return new VideoMediaProcessResultImpl(media.title, mimeType, mediaBuffer!); 226 230 } 227 231 }