New :
If you need help on how to download a video that you can’t achieve to download with this method. Please leave a comment, contact me or talk to me on the chat !
You often want to save a video on your hard drive to be able to watch later on a travel when you don’t have access to internet. There is one way to do it on websites that uses HTTP Live Streaming HLS.
Update :
Quick method :
An easier method is to use directly the m3u8 file available by filtering “m3u8” in the developer Filter box.
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=5300522320001&pubId=618566855001&videoId=5300467502001
Replace the m3u8 url in the following ffmpeg command :
ffmpeg -i url -c copy -bsf:a aac_adtstoasc 11.mp4
Source : https://gist.github.com/Pusnow/2ec4612adad7898b4c21e76b7a5d1915
Long method :
Let’s take for example an episode of “LES RECETTES POMPETTES” http://noovo.ca/videos/les-recettes-pompettes/alex-nevsky when using the developper option (F12) on the Network section we can quickly see that small 10 seconds transport stream video files are received from the streaming server http://v10-a.akamaihd.net/hls/618566855001/201701/5300522320001/618566855001_5300522320001_s-4.ts?pubId=618566855001&videoId=5300467502001
If we analyse the link we see the extension .ts, that is the 10 seconds transport stream. The file name ends with 4 that’s the 4th 10 second transport stream.
http://v10-a.akamaihd.net/hls/618566855001/201701/5300522320001/618566855001_5300522320001_s-4.ts?pubId=618566855001&videoId=5300467502001
If we look at the video duration on the website we see that it lasts 21 min we can than calculate the number of files to download 24*60/10 = 144 files.
With a small bash file we can loop trough the list of files and download them :
#!bin/sh #Download transport stream files from server server=http://v10-a.akamaihd.net/hls/618566855001/201701/5300522320001/618566855001_5300522320001_s- extension=.ts max=144 for i in `seq 1 $max` do wget $server$i$extension done
Last step and not the least is to concatenate all the files to output them into a single transport stream of 21 minutes. For that task we can use ffmpeg concatenate function (you can get ffmepg by using sudo apt-get ffmpeg command ) :
ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.ts
or inline loop the current folder .ts files using :
ffmpeg -f concat -safe 0 -i (for f in ./*.ts; do echo file '$PWD/$f'; done) -c copy output.ts
The -safe 0 above is not required if the paths are relative.
The -i mylist.txt is a file text that contains the list of input files to concatenate it should be with the following format :
# this is a comment file '/path/to/file1' file '/path/to/file2' file '/path/to/file3'
Finally the output.ts will be the name of your final file you should specify the output type .ts or another format .mkv
Source 1: https://fredericbournival.com/blog/comment-telecharger-les-videos-de-noovo-ca-vtele/
Source 2: https://trac.ffmpeg.org/wiki/Concatenate
I created this video to help one of you guys who asked me how to download audio Podcast from http://worldclass.io. Please click like button and share.
You can also donate to help me create more content 🙂
15 replies on “How to download a video from a protected website”
Hello, Can you download a video for me? I can pay.
Hi Jeremy,
Yes let me know what you want to download.
Larbi
can we download a video from amazon prime
i want to download online lectures please help https://www.nearpeer.org/css/css-online-preparation/pakistan-affairs/2/1
i want to download videos from the educational portal
Hello, it’s possible to scrap / download a video from a website using the playready protection like https://vod.canalplus.com/ ?
Thanks you
Hi, please can you let me know how to download videos from this paid education site. Thank you!
A subscription is required, but if you can show me how to download the promo video on the link below, then I can get the trial and thereafter download the rest.
Hi,
I try to download these last 2 episodes here:
https://www.noovo.ca/emissions/mon-ex-a-moi/que-le-meilleur-gagne-s2e15
https://www.noovo.ca/emissions/mon-ex-a-moi/changements-s2e16
I was able to download the others episodes with youtube-dl but since about 2 weeks Bell redesigned the noovo.ca site, this method don’t work anymore.
I want to know if it’s possible download them with an other method.
Thanks.
Hello can you download video for me I will pay you?
I am very tech illiterate and am hoping to get some help downloading videos from a recent review course I took like the following:
https://learn.aaos.org/diweb/catalog/launch/package/4/sid/117158924
I want to download videos from site Apne.tv, how can i download??
Hi can you download videos for me I will pay.THanks.
Hi. Can you contact me? I want you to help me download a webinar. Can you do that?
Greetings from the Netherlands
Hi Gharib Larbi,
Is it possible to download from a streaming plataform? like this:
http://www.brasilparalelo.com.br
Thanks!
Hello. I’m trying to download an embedded video from a learning platform that was protected with VdoCipher.
I’ve tried inspecting elements but I don’t seems to find the way out. Could you have a look?