why do you want to download it and it’s already on your machine ?! πŸ˜€

Just go to YouTube or Facebook and watch the video for the first time (make sure it’s all streamed)

Full streamed video from YouTube

DO NOT refresh or close the browser (I tested it with Firefox and Chromium)

then navigate on you Ubuntu machine to the path “/tmp/”, and find the video there named “Flashxxxx” Β Ta Daaaa

if you can’t find it check this post

The video on my machine

copy it and rename it to whatever you want and append the extension “.flv”

then you can watch it, or even put it in a folder you wont open again πŸ˜€

Watching the video locally

the same thing tested with Facebook videos.