Hi there, i've been struggling for some times trying to find an easy way to download videos from this website cine.ar.
apparently there is no MPD, but a m3u8 encrypted that i can't download/open to read inside.
exemple : https://play.cine.ar/INCAA/produccion/8801/reproducir
(no geo block, just need a free account to access to this content.)
as interesting data, there is this in F12/inspect/
and this :window.arsatPlayer = window.arsatPlayer || {};
window.arsatPlayer.playerHasLoaded = function() {};
window.arsatPlayer.backendApiURL = 'https://play.cine.ar/api/v1.7/';
window.arsatPlayer.source = 'INCAA';
window.arsatPlayer.profileId = '57479120189ad443a38e9ab0';
window.arsatPlayer.prodId = '8801';
// window.arsatPlayer.duration = ;
window.arsatPlayer.thumbsVTTUrl = 'extras/INCAA/8801/thumbs.vtt';
window.arsatPlayer.startTime = 0;
window.arsatPlayer.token = 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkaWQiOiI2 NDYyYjlhZWMwZDg3ZTBjN2JmMmJmZmIiLCJpYXQiOjE2ODQxOT E0ODIsImp0aSI6IjY0NjJiOWFlYzBkODdlMGM3YmYyYmZmYyIs InN1YiI6IjU3NDc5MWRkNWU5NzA1M2JiNzA2NzgwMCIsImV4cC I6MTY5OTc0MzY2Mn0.d8kE_Qcv8ig5rxzzZSSyCSXcJbKdnlWr xCDIYQZIHc_XOjCaS6FjhIw8UmOmhXrmLCjShx11zMlaeNP0r2 BdpD9unMK5qCmMnwrBwWk2OqWUQhQaYqHpytFnG4GINhJbtViJ Iijf5tyJQGq4DmqSeEA4zogQPEZ3CPCCamYNEPggKo0SNM9zRj iuLz48cpO42LfO9ED3FnonbxCxfoefQfLeTDca_l1wiB_A5OnV ZMeCOpOk7wesUx8FmnWFofmbQBo08mmrHJ0hCwQZRe8Im2ySLf COqr26IS49YA7yhm-GbjrRL85y7tzJH1Ok3Nt9puXh2JNCEb7vGxwa5T45Tg';
window.arsatPlayer.showCloseButton = 1;
window.arsatPlayer.prodTitle = 'Los gritos';
window.arsatPlayer.prodSubTitle = '';
window.arsatPlayer.chapterExitTime = 9999999999;
window.arsatPlayer.nextChapterURL = "";
window.arsatPlayer.prerollUrl = "";
window.arsatPlayer.prerollUrlNoProtocol = "//ads.e-planning.net/eb/4/18bba/ROS/PreRoll?o=v&ma=1&vv=3";
window.arsatPlayer.showAd = '';
window.arsatPlayer.isSerie = false;
window.arsatPlayer.prodUrl = 'https://538e262141148.streamlock.net/odeon/_definst_/smilmc/INCAA/8801/media.smil/playlist.m3u8?' + w;
window.arsatPlayer.prodUrlEncoded = 'convert.php?b=aHR0cHM6Ly81MzhlMjYyMTQxMTQ4LnN0cmV hbWxvY2submV0L29kZW9uL19kZWZpbnN0Xy9zbWlsOm9tYy9JT kNBQS84ODAxL21lZGlhLnNtaWwv&p=cGxheWxpc3QubTN1OD90 PWV5SmhiR2NpT2lKU1V6STFOaUo5LmV5SnpiM1Z5WTJVaU9pQW lTVTVEUVVFaUxDQWlZM1J5ZVNJNklDSkdVaUlzSUNKMWFXUWlP aUFpTlRjME56a3haR1ExWlRrM01EVXpZbUkzTURZM09EQXdJaX dnSW1WNGNDSTZJREUyT0RReU1EQXdOalV1T0RjME1UZ3NJQ0p6 YVdRaU9pQTRPREF4TENBaWNHbGtVR0Z5WVcxT1lXMWxJam9nSW pVM05EYzVNVEl3TVRnNVlXUTBORE5oTXpobE9XRmlNQ0o5LkRD N0RNMDRkWklqRjlDYS1TYUE1eXZhYmRrRlZIeW4tZ3JfTWZjeE wzcEJEMkdVRzhjbl9lUGdLMTAwS3hsYmNENWdObzVxek45eUQ1 MGdzdllHU2hreTg2bnQ3WEdzdHRtVlo1VGFZQW5sSW13T0RkWE 9LZllZUWdka3Z1WUMwS0FHOVpQSlFTa19UcFg1elpNZ24zdlBy dDE3SGViWG94Y01OWUxNNUtReWlHZGxIbnNfUVFBNGR1MTFZUD NGbE9faDk1ekVyME9UQkhwUTg1QUFDaTJrUnluSDF2RFV3N09m b1BPNUFLeEljNjF0eGUyQk1ZUFh1dVBOaTVqcTU0ZW1hdmVuVk NyNjRNSUtUS0xsVkp1VU95ZUltbWVqY3V4ekhhRnJ6TDB3VVEx cnluSFRtNXVfdU15VFpERzZWbUJOWVl3RHRzSW1wcUlmSTFOck huUQ==';
window.arsatPlayer.poster = 'https://img.cine.ar/image/6400ec6a2916c5095004560e/context/odeon_fotograma_ampli';
window.arsatPlayer.userAgent = 'mozilla/5.0 (windows nt 10.0; win64; x64; rv:109.0) gecko/20100101 firefox/113.0';
window.arsatPlayer.playerDir = '';
window.arsatPlayer.wowzaSubtitles = 'extras/INCAA/8801/subtitles/';
window.arsatPlayer.wowzaExtras = 'extras/INCAA/8801/';
window.arsatPlayer.platform = '';
window.arsatPlayer.browser = 'Firefox';
the video is supposed to be downloadable with 4 differents qualities and in mp4 somewhere...jwplayer.key = "FJCl4Hz02cRU1JPS+5fbLk6QroYbbKwiJxT+mQ==";
w = _i9AcBuPCHc5bW0(_U20cdBqP(_tOtz0p_8y(_Qz62EgYp(_kD bxRNXH(_AFW8xJ6fElrp3(_bz4Sb6po(_fHzxJi8pehXZpcE(_ 3PRe0rkTCsi1(_hoiIIcmbw(_PGnGxzSvaiMIItt(_calwU4Ih gfGc4nA('_ebJHLK7lUFB1xb9_Rqzgt=eyJhbGciOiJSUzI1Ni J9.eyJzb3VyY2UiOiAiSU5DQUEiLCAiY3RyeSI6I8JGUiIsICJ 1aWQiOiAiNTc0NzkxZGQ1ZTk3MDuzYmI3MDY3ODuwIiwgImV4c CI6IDE2ODQyMDAwNjUuODc0MTgsICJzaWQiOiA4ODAxLCAicGl kUGFyYW13YW1lIjorIjU-NDc5MTIuMTg5YWQ0NDNhMzhlOWFiMCJ9.DC7DM04dZIjF9Ca-SaA5yvaudkFVHyn-gr_MfcxL3pBD2GUG8cn_ePgK100KxlbcD5gNo5qzN9yD50gsvY GShky86ntaXGsttmVZ5TaYAnlImwODdXOKfYYQgdkvu*C0KAG9 ZPJQSk_T0X5zZMgn3vPrt17HebuoxcMNYLM5KQyiGdlons_QQA 4du11YP3FlO_h95zEr0OTBHpQ85AACi2kRynH1vDUw7OfoPO5A KxIc61txe2Ni5jq54emavenVCr64aIKTKLlVJuUOyeImmejcux zHaFruL0wUQ1rynHTm5u_uMyTZDi6VmBNYYNDtsImpqIfI1NrH nQ_7FYhiZb48VK_ihrRPbaYAqgypFK3sp'))))))))))));
does anyone have an idea with yt-dlp or something else, please ?
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 22 of 22
-
-
There's no encryption involved, just a "hidden" m3u8.
In dev tools, filter for convert.php and simply use that URL with yt-dlp:
Code:yt-dlp "https://player.cine.ar/odeon/convert.php?... (shortened)" -o "cine.mp4" [generic] Extracting URL: https://player.cine.ar/odeon/convert.php?b=aHR0cHM6Ly81MzhmMGM4YzI2NGNhLnN0cmVhbWxvY2submV0L29kZW...aGtIY1ZLVWxYQjJiUXd3 [generic] convert: Downloading webpage WARNING: [generic] Falling back on generic information extractor [generic] convert: Downloading m3u8 information [info] convert: Downloading 1 format(s): 720p__2350k_ [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 77 [download] Destination: cine.mp4 [download] 100% of 218.70MiB in 00:01:08 at 3.18MiB/s [FixupM3u8] Fixing MPEG-TS in MP4 container of "cine.mp4"
-
Hi everyone,
i'm trying to download this video https://www.e-cinema.com/film/voir/karma
apparently it's a stream going with an hidden/encrypted .m3u8 that i can't download.
does anyone know how to download the video using yt-dlp please ?
/* /TEMP a cause de bug chromecast */
var getSubtitleLabels = function(data) { label = data.label; for (i = 0; i < ccLabels.length; i++) { if (data.label == ccLabels[i].iso639 || data.lang == ccLabels[i].iso6392) { label = ccLabels[i].label; break; } } return label;
}
function updateSubtitleFontSize(){ width = $(".bmpui-ui-subtitle-overlay").width(); $(".bmpui-ui-subtitle-overlay *").css('font-size',(width/45)+'px'); /*$(".bmpui-ui-subtitle-overlay *").css('font-family','Arial').css('font-size',(width/45)+'px');*/ return;
}
function displaySubtitles(){ if (displaySubtitlesOnStartup) { subs = player.getAvailableSubtitles(); for(var k in subs) { if (subs[k].kind=="subtitle") {player.setSubtitle(subs[k].id);return} } }
}
var updateTimeCodeWhenCastingInterval;
function updateTimeCodeWhenCasting() { playbackTime = parseInt(player.getCurrentTime()); updateTimeCode("Xmgwg4B3/3rCz96dbBqYwQ7uPFn3s0cqMdKD/hl/aS8=",playbackTime);
}
var wowzatokenendtime = 1685626492;
var wowzatokenclientdelay = Math.round((new Date()).getTime() / 1000) - 0;
function getWowzaToken(){ var ts = Math.round((new Date()).getTime() / 1000); if(ts<wowzatokenendtime+wowzatokenclientdelay) { return true; } sendAjaxRequestWithoutLockScreen("get-wowza-token",{streamURI:'2850-A652-9F89-15C3-85A9-6610-4293-7A4C'},function(){ var vars = g_temp_datas.split('&'); for (var i = 0; i < vars.length; i++) { var pair = vars[i].split(/=(.+)?/); if(pair[0]=="wowzatokenendtime") var wowzatokenendtime=pair[1]; if(pair[0]=="wowzatokenstarttime")var wowzatokenstarttime=pair[1]; if(pair[0]=="wowzatokenhash") var wowzatokenhash=pair[1]; } player.setQueryParameters({wowzatokenstarttime: wowzatokenstarttime, wowzatokenendtime: wowzatokenendtime, wowzatokenhash: wowzatokenhash}); },function(){ return false; } );
}
function initSessionStream() { sendAjaxRequest("init-session-stream",{stream_id:'Xmgwg4B3/3rCz96dbBqYwQ7uPFn3s0cqMdKD/hl/aS8='},function(){ if (!g_temp_datas) { /*error!*/ return false; } },function(){ /*error!!*/ return false; } );
}
var currentPlaylistKey = 0;
var stream_source = { dash:"https://streamers.e-cinema.com:443/ecinemadash/_definst_/amlst:2850-A652-9F89-15C3-85A9-6610-4293-7A4C/manifest.mpd", hls:"https://streamers.e-cinema.com:443/atlantiss3/_definst_/amlst:2850-A652-9F89-15C3-85A9-6610-4293-7A4C/playlist.m3u8?customData=597050%7C472%7C1685540092 %7C4coT8pE2ef27weaLV7a2A1TmVzbI6zgj-NdXg3559qg%3D", drm:{ widevine : { LA_URL : "//widevine-dash.ezdrm.com/proxy?pX=6B3A97&customData=597050%7C472%7C16855400 92%7C4coT8pE2ef27weaLV7a2A1TmVzbI6zgj-NdXg3559qg%3D", }, playready : { LA_URL : "//playready.ezdrm.com/cency/preauth.aspx?pX=72B0B3&customData=597050%7C472%7C1 685540092%7C4coT8pE2ef27weaLV7a2A1TmVzbI6zgj-NdXg3559qg%3D", } }, /* TEMP a cause de bug chromecast labeling: { dash: { subtitles: getSubtitleLabels, }, hls: { subtitles: getSubtitleLabels, } } /* /TEMP a cause de bug chromecast */ }; var playlist = [{"progressive":[{url:'https://assets.e-cinema.com/VIDEO_COVER/ecinema-preroll.mp4',type:'video/mp4'}]},stream_source]; var playerConfiguration = { key: "41349023-c91d-4d2d-9456-689460ccaca1", source: playlist[currentPlaylistKey], tweaks : { max_buffer_level:12, query_parameters : { wowzatokenendtime: '1685626492',
wowzatokenstarttime: '0',
wowzatokenhash: 'mUze0RvhOEq9Kte9XHMAl9uSKqvZd7zNjrshSNHiFcE='} }, cast : { enable : true, receiverStylesheetUrl: 'https://www.e-cinema.com/assets/css/bitmovin-cast.css' }, playback: { autoplay : true, width : "100%", aspectratio : '16/9', controls : true, subtitlesHidden : false, muted : false, subtitleLanguage : 'fr', preferredTech : [{player: 'html5',streaming: 'dash'},{player: 'native',streaming: 'hls'},{player: 'html5',streaming: 'hls'}] }, events : { onPlaybackFinished: function() { if(currentPlaylistKey < playlist.length - 1 ) { currentPlaylistKey++; player.load(playlist[currentPlaylistKey]).then(function () { $(".bmpui-ui-uicontainer").css("visibility","visible"); if(currentPlaylistKey == 1) { initSessionStream(); updateSubtitleFontSize(); /* show cast button */ $(".bmpui-ui-casttogglebutton").show(); /*displaySubtitles();*/ } }, function(reason) { console.log('error loading source: ' + JSON.stringify(reason)); }); } else { window.location.href = "/film/karma"; } }, onReady : function() { if(currentPlaylistKey == 1) { player.seek(0); player.play(); } else if(currentPlaylistKey==0) { waitForUiAndTranslateOnceLoaded(); } }, onSegmentPlayback: function(data) { if (data.mimeType.substring(0,5) == "video" ) { playbackTime = parseInt(data.playbackTime); if(!playbackTime) playbackTime = parseInt(player.getCurrentTime()); updateTimeCode("Xmgwg4B3/3rCz96dbBqYwQ7uPFn3s0cqMdKD/hl/aS8=",playbackTime); } }, onCastStarted : function() { updateTimeCodeWhenCastingInterval = setInterval(updateTimeCodeWhenCasting,10000); }, onCastStopped : function() { clearInterval(updateTimeCodeWhenCastingInterval); }, onPlayerResize : updateSubtitleFontSize, onSubtitleAdded : function(data) { if((data.subtitle.lang=="fra"||data.subtitle.id==" sub0") && displaySubtitlesOnStartup) player.setSubtitle(data.subtitle.id)}, onError : function(data) { var message = data.message; displayPlayerAlert(message); }, /* TEMP a cause de bug chromecast*/ onPlay:labelSubtitles /* TEMP a cause de bug chromecast*/ } }; /* PLAYER !!! */ var player = bitmovin.player("player"); player.setup(playerConfiguration).then(function(va lue) { player.play(); }, function(reason) { console.log('error setup player: ' + JSON.stringify(reason)); }); -
with free facebook account and France IP only 9 sec is available ... need premium account or IP from ?
[Attachment 71379 - Click to enlarge] -
IP from france.
free account, the video in example is free to access.
https://www.e-cinema.com/film/voir/karma -
I found this, but yet i don't find a way to download...
MPD
PSSH
AAAAP3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAB8SEAk76Y nV4kmKQ0FZXKV/imsaBWV6ZHJtSOPclZsG
-
-
-
@lomero
dur: 07:37
with free account comes immediately after the 9 second video
Code:--key 093be989d5e2498a4341595ca57f8a6b:9c73585acbef54a325b95e775d70791e
-
-
from mpd link with N_m3u8DL-RE
Code:N_m3u8DL-RE -M format=mkv --key xxx "https://mpd" --save-name karma
with yt-dlp you can download with --allow-u but after download need to decrypt manually. with N_m3u8DL-RE decryption is automated -
e-cinema.com
wks with N_m3u8DL-RE
*need ci_session from cookie
[Attachment 71385 - Click to enlarge]
Code:import base64, requests, sys, xmltodict, json, os from pywidevine.L3.cdm import cdm, deviceconfig from base64 import b64encode from pywidevine.L3.decrypt.wvdecryptcustom import WvDecrypt import subprocess m3u8DL_RE = 'N_m3u8DL-RE.exe' delete_file = 'key.txt' if os.path.exists(delete_file): os.remove(delete_file) print("key.txt file successfully deleted.") print('test link: https://www.e-cinema.com/film/voir/karma\n') link = input('link: ') import requests import re cookies1 = { 'ci_session': '*ci_session_here*', } headers1 = { 'authority': 'www.e-cinema.com', 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'accept-language': 'en;q=0.9,en-GB;q=0.8,en-US;q=0.7', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57', } response1 = requests.get(link, cookies=cookies1, headers=headers1).text title = re.findall(r'class=\"titresection\">(.*?)<', response1)[0].strip() print(f'\n{title}\n') mpd_part1 = re.findall(r'dash:\"(.*?mpd)\"', response1)[0].strip() mpd_part2 = re.findall(r"wowzatokenendtime:..(.*?)'", response1)[0].strip() mpd_part3 = re.findall(r"wowzatokenhash:..(.*?)'", response1)[0].strip() mpd = f'{mpd_part1}?wowzatokenendtime={mpd_part2}&wowzatokenstarttime=0&wowzatokenhash={mpd_part3}' print(f'{mpd}\n') lic_url_part1 = re.findall(r'(widevine-dash.ezdrm.*?)\"', response1)[0].strip() lic_url = f'https://{lic_url_part1}&wowzatokenendtime={mpd_part2}&wowzatokenendtime={mpd_part2}&wowzatokenstarttime=0&wowzatokenhash={mpd_part3}' print(f'{lic_url}\n') import requests headers2 = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36', } response2 = requests.get(mpd, headers=headers2).text pssh = re.findall(r'<cenc:pssh>(.{20,170})<\/cenc:pssh>', response2)[0].strip() print(f'{pssh}\n') import requests headers = { 'Connection': 'keep-alive', 'Origin': 'https://www.e-cinema.com', 'Referer': 'https://www.e-cinema.com/', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57', } def WV_Function(pssh, lic_url, cert_b64=None): wvdecrypt = WvDecrypt(init_data_b64=pssh, cert_data_b64=cert_b64, device=deviceconfig.device_android_generic) widevine_license = requests.post(url=lic_url, data=wvdecrypt.get_challenge(), headers=headers) license_b64 = b64encode(widevine_license.content) wvdecrypt.update_license(license_b64) Correct, keyswvdecrypt = wvdecrypt.start_process() if Correct: return Correct, keyswvdecrypt Correct, keys = WV_Function(pssh, lic_url) st='' for key in keys: st+=' --key '+key with open("key.txt","a+") as f: f.write(st[1:]+'\n') with open("key.txt", "r") as f2: datas = f2.read() print(datas) with open("key.txt", "r") as fs: ke_ys = fs.readlines() ke_ys = ke_ys[0].strip().split() subprocess.run([m3u8DL_RE, '--auto-select', '--binary-merge', '--log-level', 'INFO', '--download-retry-count', '8', '--concurrent-download', '--save-name', title, '-M', 'format=mp4:muxer=ffmpeg', *ke_ys, mpd]) if os.path.exists(delete_file): os.remove(delete_file) print("key.txt file successfully deleted.")
-
Isn't there something a bit weird with that site ? (e-cinema.com)
I did manage to get the keys a couple of times, but most of the time I end up with "Ciphertext with incorrect length". Be it with sk8ordi3's script or manually using widevine_keys. I don't understand why sometimes it works and sometimes it doesn't.
Also, what makes it really inconvenient to use is that the server always takes like 5+ seconds to respond. Or is it my connexion ? The wowzatokenendtime looks like it's valid for 24h, but maybe we actually need to do it pretty quickly and the server's response is too slow ?
Code:https://streamers.e-cinema.com:443/ecinemadash/_definst_/amlst:D175-4E5C-5A0F-CC49-6ACB-A4C7-3F18-76CF/manifest.mpd?wowzatokenendtime=1688809019&wowzatokenstarttime=0&wowzatokenhash=_8vmkQEyagfIGKMdCl3ykhfkb5Ft5eB7Fcog8xxlF4s=
Code:https://widevine-dash.ezdrm.com/proxy?pX=6B3A97&customData=929523%7C327%7C1688722619%7CsRWcgFiC-HsB8z96bsXYGIqACtjbr8uJYMX9-3dC7PA%3D&wowzatokenendtime=1688809019&wowzatokenendtime=1688809019&wowzatokenstarttime=0&wowzatokenhash=_8vmkQEyagfIGKMdCl3ykhfkb5Ft5eB7Fcog8xxlF4s=
Code:AAAAVHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADQIARIQiDkxy00/Vv2LH5aedS5tQRoIbW92aWRvbmUiEJ1e7n7rGn5EsyltiER/Op4qAlNE
-
-
Wtf am I struggling with ? Does it take forever to answer for you too or do you get an instant response ?
-
I just requested the key through GetWVKeys and got a near instant response
-
I seriously don't understand. I always do the same thing and it only works like once every 10 tries for me and the response is always very long. Anyway, probably something wrong with my connection/setup. Thanks for the info.
Similar Threads
-
Trying to install cine encoder in Ubuntu
By ricardouk in forum LinuxReplies: 17Last Post: 14th Jun 2022, 20:42 -
Cine Encoder 2021 (Windows/Linux)
By Helg1980 in forum Video ConversionReplies: 17Last Post: 11th Jun 2022, 11:42 -
play.cine.ar
By oopargentina in forum Video Streaming DownloadingReplies: 2Last Post: 18th Nov 2021, 10:01 -
Electronics advice - varispeed cine projector
By super8rescue in forum Off topicReplies: 0Last Post: 10th Apr 2021, 06:34 -
Minimising/Removing Cine Film Flicker
By Alwyn in forum RestorationReplies: 3Last Post: 10th Apr 2021, 03:17