From a7bf33d362a1fbcc402cf0e8f9b318ac5a5a25cb Mon Sep 17 00:00:00 2001 From: horacio9a Date: Wed, 13 Dec 2017 16:25:32 +0100 Subject: [PATCH] v.1.0.7 Cam4 Remote 24/7 Anonymous STREAMLINK Recorder --- c4slr.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/c4slr.py b/c4slr.py index a180737..36407e8 100644 --- a/c4slr.py +++ b/c4slr.py @@ -90,13 +90,13 @@ if len(state) > 0: rname = vpu.split('-')[0] lwcdn = vpu.split('-')[1] - hlsurl0 = dec.split("hlsUrl: '")[1] - hlsurl = hlsurl0.split("'")[0] - purl0 = hlsurl.split('live/')[1] - purl = purl0.split('/')[0] hlsurl1 = 'https://lwcdn-{}.cam4.com/cam4-origin-live/ngrp:{}_all/playlist.m3u8'.format(lwcdn,vpu) hlsurl2 = 'https://lwcdn-{}.cam4.com/cam4-origin-live/amlst:{}_aac/playlist.m3u8'.format(lwcdn,vpu) - hlsurl3 = 'https://lwcdn-{}.cam4.com/cam4-origin-live/{}_aac/playlist.m3u8'.format(lwcdn,vpu) + hlsurl = 'https://lwcdn-{}.cam4.com/cam4-origin-live/{}_aac/playlist.m3u8'.format(lwcdn,vpu) + hlsurl0 = dec.split("hlsUrl: '")[1] +# hlsurl = hlsurl0.split("'")[0] + purl0 = hlsurl.split('live/')[1] + purl = purl0.split('/')[0] print (colored(' => Play URL => {} <=', 'yellow', 'on_blue')).format(purl) print