item_info_name=title
item_info_from=@PARAM1@
item_info_build=nohead

item_info_name=qs
item_info_from=@PARAM1@
item_info_convert=parseText('%s','.*zmid\s*=\s*[\'"]([^\'"]+).*?pid\s*=\s*(\d+).*?edm\s*=\s*["\']([^"\']+).*?src\s*=\s*["\']([^"\']+)','id|pp|zm|pv')
item_info_build=%s

item_info_name=org
item_info_from=zm
item_info_build=https://%s

item_info_name=zm_
item_info_from=zm+'/sdembed?v='+id
#item_info_convert=debug
item_info_build=https://%s

item_info_name=zmhost
item_info_from=zm_
item_info_convert=ifEmpty('%s','','%s')
item_info_build=%s

item_info_name=postData
item_info_from=pid='+pp
item_info_build=%s

item_info_name=postUrl
item_info_from=zmhost + '|' + postData
item_info_build=%s

item_info_name=cookie1
item_info_from=postUrl
item_info_convert=getCookies(PHPSESSID)
#item_info_convert=debug
item_info_build=%s

#item_info_name=cookie2
#item_info_from=postUrl
#item_info_convert=getCookies(rmmad)
#item_info_convert=debug
#item_info_build=%s

item_info_name=cookies
item_info_from=PHPSESSID='+cookie1+'2bfd_unique_user=1; noprpkedvhozafiwrcnt=1; noprpkedvhozafiwrexp=Sat, 18 Aug 2018 01:57:10 GMT'
#item_info_from=2bfd_unique_user=1; a=' + cookie1 + '; token=1515646365,dd38af7c5189e2ee6088cbe3746ecd68; rmmad='+cookie2+'
#item_info_convert=debug
item_info_convert=quote(%s)
#item_info_convert=quote(%s)
item_info_build=%s

item_info_name=data0
item_info_from=postUrl
item_info_convert=getInfo('%s','.*var\s+(player\s*=.*?<\/script>)','@REFERER@')
#item_info_convert=debug
item_info_build=%s

item_info_name=hls_
item_info_from=data0
item_info_convert=parseText('%s','.*\w+\s*=\s*"(.*m3u8.*?)"')
#item_info_convert=debug
item_info_build=%s

item_info_name=tmp_
item_info_from=data0
item_info_convert=parseText('%s','.*replace\('(\w+)',\s*window.atob\(\"(.*?)\"','r_|ts_')
item_info_build=%s

item_info_name=ts
item_info_from=ts_
item_info_convert=decodeBase64
#item_info_convert=debug
item_info_build=%s

item_info_name=hls
#item_info_from=hls_+'|Referer='+zmhost+'&User-Agent=Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML,%20like%20Gecko)%20Chrome%2F67.0.3396.99%20Safari%2F537.36&Origin=https://www.seelive.me
item_info_from=hls_+'|Referer='+zmhost+'&Origin='+org+'&User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
item_info_convert=replaceRegex('%s','/((?!zmelive)\w+)/\d+','@ts@')
#item_info_convert=quote('%s')
item_info_convert=quote('%s')
item_info_convert=ifEmpty('@hls_@','','hls://%s')
#item_info_convert=debug
item_info_build=%s

#item_info_name=hls2_
#item_info_from=postUrl
#item_info_convert=getInfo('%s', '.*jwplayer.*?"(http.*m3u8.*?)"', '@REFERER@')
#item_info_convert=debug
#item_info_build=%s

#item_info_name=ref
#item_info_from=zmhost
#item_info_convert=quote(%s)
#item_info_build=%s

item_info_name=file1
item_info_from=postUrl
item_info_convert=getInfo('%s','.*?rtmp://.*?\/(\w+)"','@REFERER@')
item_info_build=%s

item_info_name=req2_
item_info_from=postUrl
item_info_convert=getInfo('%s','.*?file.?:\s*[\'"]((?:hd)?smil[^\'"]+)[\'"].*','@REFERER@')
item_info_convert=ifEmpty('%s','','%s')
item_info_build=%s

item_info_name=req2
item_info_from='http://'+zm+'/'+req2_
item_info_convert=ifEmpty('@req2_@','','%s')
item_info_build=%s

item_info_name=file2
item_info_from=req2
item_info_convert=getInfo('%s','.*video\s+src="([^"]+)"\s+title="Default"','@REFERER@')
item_info_build=%s

item_info_name=file
item_info_from=file1 || file2
item_info_build=%s

item_info_name=rex1
item_info_from=file
item_info_build=.*;(\w+\s*=\s*{.*?"\w+"\s*:\s*"%s".*?};)

item_info_name=data
item_info_from=postUrl
item_info_convert=getInfo('%s','@rex1@','@REFERER@')
#item_info_convert=debug
item_info_build=%s

item_info_name=ip
item_info_from=data
item_info_convert=parseText('%s','.*:window\.atob\("([^"]+)')
item_info_convert=decodeBase64
item_info_build=185.196.9.130

item_info_name=rtmp_1
item_info_from=req2
item_info_convert=getInfo('%s','.*rtmp:\/\/.*?(:?\d+?\/\w+\/?)','@zmhost@')
item_info_build=%s

item_info_name=rtmp1
item_info_from='rtmp://'+ip+rtmp_1
item_info_convert=ifEmpty('@rtmp_1@','','%s')
item_info_build=%s

item_info_name=rtmp_2
item_info_from=data
item_info_convert=parseText('%s','.*rtmp:\/\/.*?(:?\d+?\/\w+\/)')
item_info_build=%s

item_info_name=rtmp2
item_info_from='rtmp://'+ip+rtmp_2
item_info_convert=ifEmpty('@rtmp_2@','','%s')
item_info_build=%s

item_info_name=rtmp_
item_info_from=rtmp1 || rtmp2
item_info_build=%s

item_info_name=tok
item_info_from=data
item_info_convert=parseText('%s','.*hlUDia0":"(\w+)"')
item_info_build=%s

item_info_name=num
item_info_from=data
item_info_convert=parseText('%s','.*TRiexl4":"?(\d+)"?')
item_info_build=%s

item_info_name=pageUrl
item_info_from=@REFERER@
item_info_build=%s

item_info_name=offline
item_info_from=postUrl
item_info_convert=getInfo('%s','.*(offline|Offline)','@REFERER@')
item_info_build=%s

item_info_name=auth
item_info_from=https://auth.livecamtv.me/'+
item_info_convert=getInfo('%s','(.*)','@zmhost@')
#item_info_convert=debug
item_info_build=%s

#flash player params
# this._application = this._application.replace(config.hle7iAp,config.Zo7frlA);
#this._connection.connect(this._application,config.qoeFrl2,config.TRiexl4,config.hlUDia0,config.g2ajieQ);

item_info_name=rtmp
item_info_from=rtmp_ + ' playpath=' + file + ' swfVfy=1 swfUrl=http://sts.seelive.me/player/7.12/jwplayer.flash.swf flashVer=WIN\2028,0,0,126 conn=S:' + file + ' conn=S:'+num+' conn=S:'+tok+' conn=S:V&gt;JWhui^@2ESdu0?}&gt;AN live=1 token=Q!lrB@G1)ww(-dQ4J4 pageUrl=' + zmhost
item_info_convert=ifEmpty('@rtmp_@','','%s')
#item_info_convert=debug
item_info_build=%s

item_info_name=url
item_info_from=hls||rtmp||offline
item_info_build=%s
