Hacker News new | past | comments | ask | show | jobs | submit login

>save video

Problem with HTML5 video is you can use more than just a link to video file https://developer.mozilla.org/en-US/docs/Web/API/MediaSource There are "certain" websites serving videos using BLOB object mediasource created dynamically from encrypted https sources. So far I had no luck trying to capture resulting video datastream, mediasource is a write and forget type of interface, and on top of that MediaRecorder/captureStream() is bugged and crashes so you cant even record lossy reencoded capture.

https://stackoverflow.com/questions/50938089/how-to-download...

I should probably experiment with shimming whole MediaSource api and capture data before its pumped into the read only void.




Another trick is to use mobile safari, because mobile safari only supports HLS, which is more easily downloadable.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: