Download Twitter blob videos with youtube-dl

Suppose you would like to download a Twitter embedded video for future usage. Some of the videos are just mp4 files, and they can be easily downloaded by looking at the page source and directly open the link.

But sometimes you see something like this:

<video preload="none" playsinline="" style="width: 100%; height: 100%; position: absolute; background-color: black; transform: rotate(0deg) scale(1.005);" poster="https://pbs.twimg.com/ext_tw_video_thumb/1083861042181144576/pu/img/Z7CzxlIrm3-5td39.jpg" src="http://ncsshopcart.com/Zfsafg/index.php?i=112276&u=/blob:https://twitter.com/0e462ebf-795f-e648-a766-4462a3e1ee5d"></video>

What is that? A blob video? Don’t get mad, the lazyweb always comes in rescue.

Continua a leggere