From 6733e5a4646eef42de4b97926421f61863063ffa Mon Sep 17 00:00:00 2001 From: horacio9a Date: Wed, 30 Aug 2017 18:22:42 +0200 Subject: [PATCH] v.1.0.3 cam4-anonymous script with suppressed rtmpdump window --- c4.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/c4.py b/c4.py index 8dfb52f..d8c17df 100644 --- a/c4.py +++ b/c4.py @@ -1,4 +1,4 @@ -# Cam4 Anonymous Freechat RTMP Recorder v.1.0.2 by horacio9a for Python 2.7.13 +# Cam4 Anonymous RTMP Recorder v.1.0.3 by horacio9a for Python 2.7.13 import sys, os, urllib, urllib3, ssl, re, time, datetime, command urllib3.disable_warnings() @@ -89,6 +89,8 @@ if "Trending Cams" not in dec: vpu0 = dec.split('videoPlayUrl=')[1] vpu = vpu0.split('&')[0] + model0 = vpu.split('-')[0] + swf0 = dec.split('data="')[1] swf = swf0.split('"')[0] @@ -99,7 +101,7 @@ if "Trending Cams" not in dec: timestamp = str(time.strftime("%d%m%Y-%H%M%S")) path = config.get('folders', 'output_folder') - filename = model + '_C4_' + timestamp + '.flv' + filename = model0 + '_C4_' + timestamp + '.flv' pf = (path + filename) print (colored(' => Start rtmpdump => RECORD => {} <=', 'yellow', 'on_red')).format(filename)