def runUnpackDialog(): input = unpackDialog() if input != '': # if file is entered print('Unpacker:', input) unpack( ifile=input, prefix='') # default, writes out new files without a 'new' prefix
def CDA(url): r = requests.get(url) match = re.compile("eval(.*?)\{\}\)\)").findall(r.text) try: if match[1]: #print match[1] + ' eval' spakowany = match[1] spakowany = spakowany.replace("\\'","") unpacked = unpacker.unpack(spakowany) #print unpacked + ' wypakowany' match = re.compile('var video=<video src="(.*?)"').findall(unpacked) videourl = match[0] match = re.compile('poster="(.*?)"').findall(unpacked) posterurl = match[0] print videourl+ ' cda_videourl' return (videourl,posterurl) #else : #return "" except IndexError: print "material usuniety ? " return ("","")
def runUnpackDialog(): input_ = unpackDialog() if input_ != '': print('Unpacker:', input_) unpack(ifile=input_, prefix='')
def runUnpackDialog(): input = unpackDialog() if input != '': print('Unpacker:', input) unpack(ifile=input, prefix='')
def runUnpackDialog(): input = unpackDialog() # 从图形界面获得输入 if input != '': # 处理非图形界面化的东西 print('Unpacker:', input) # 从对话框获得输入,运行程序 unpack(ifile=input, prefix='')
def runUnpackDialog(): input = unpackDialog() if input != '': print('[*] Unpacker ', input) unpack(infile=input)
def runUnpackDialog(): input = unpackDialog() # get input from GUI if input != '': # do non-GUI file stuff print('Unpacker:', input) # run with input from dialog unpack(ifile=input, prefix='')