My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to download a video with blob URL as its src?

Arihant's photo
Arihant
·Mar 12, 2018

I'm working on a feature of google extension. Feature is that I've to make twitter videos and gifs downloadable. Videos on twitter have blob URLs like – src=blob:https://twitter.com/e66bc1cb-76c9-4060-adf7-282591f47e29 . How do I go about downloading this video (with the blob URL) (preferably without any dependencies).

Edit:

When we hit the play button on twitter, in the network tab it fetches .m3u3 and .ts files.

More details – github.com/sindresorhus/refined-twitter/iss..