Click play on the video. Then right click on the video and inspect element.
Find <video class=”fp-engine”…. and copy the Akamai URL.
Alternatively click download on the video and once the download starts, cancel it, open your download queue and then right click on the download and copy the download URL.
With either of the above methods to get the URL (which lacks a .mp4 extension), you can use that in your cURL command as follows:
curl -o video.mp4 "paste long download URL here"
Remember to use double quotes “” around the URL.
The reason we use curl -o, instead of curl -O, is that the file name of the download will be something like 1200 characters long which gives us a File name too long error.
It will start downloading like this:
[root@hostname]# curl -o video "http://wevideo-a.akamaihd.net/7hSWWXP2%Fcbhg1zZayqjvbARb73ozXljnFZxHPS2%9cLxLHznbxXZjSx9qbXyA3v1g7qan33FzqRno7vjljWbch1bygzqvz%zqqa%2LAjzLHXH9ASRXoPljgR1lZX9P2jWFXhacbyoq"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 212M 100 212M 0 0 442k 0 0:08:11 0:08:11 --:--:-- 541k