2
I want to capture a streaming video from mediaklikk.hu. How can I do that?
2
I want to capture a streaming video from mediaklikk.hu. How can I do that?
2
idea: collect all the video parts and paste them into one file, can run in a shell in background, you have to know the starting url and the number of pieces
media_w415294746_b800000_1.ts?keys=h9bDPql-rzDe-44uEorcTA&keyt=1457916109
_b8000000
stands for the video quality, so _b12000000
is better/bigger.ts
stands for the video partcurl
_1.ts
into _${i}.ts
>>
in command line use zsh (runs in Linux or MacOS)
for i in {1..444}; do echo "* video part $i ..."; curl URL >> myvideo.mp4; done
when you paste your URL at the place of URL be aware to escape special characters eg. =&?
with \
working example:
zsh> for i in {1..444}; do echo "* video part $i ..."; curl http://212.40.98.161/intvod/_definst_/r/mtva/2016/02/26/2016-000128-M0054-01-/international.smil/media_w415294746_b1200000_${i}.ts\?keys\=h9bDPql-rzDe-44uEorcTA\&keyt\=1457916109 >> mymovie.mp4; done
now you should see some output like this:
* video part 1 ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1441k 100 1441k 0 0 486k 0 0:00:02 0:00:02 --:--:-- 486k
* video part 2 ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1438k 100 1438k 0 0 475k 0 0:00:03 0:00:03 --:--:-- 475k
Thanks, this was very helpful! One minor comment: in my case, the numbering of the parts started from 0 instead of 1. – thSoft – 2017-11-28T22:03:00.030
2
playlist.m3u8
, click on the item's URL and copy the Request URL
1Is this even legal? – Dave – 2015-05-21T10:36:12.283