Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
else:
found = ""
return found
elif "myvidstream" in i:
packed = ''
final = ""
content = ccurl(i)
soup = BeautifulSoup(content,'lxml')
link = soup.findAll('script',{'type':'text/javascript'})
for i in link:
if 'myvidstream' in i.text:
#print(i.text)
packed = i.text
break
if packed:
val = packer.unpack(packed)
print(val)
soup = BeautifulSoup(val,'lxml')
m = (re.search('file[^)]*',val)).group()
print(m)
if m:
n = re.search("http[^']*",m).group()
if n:
print(n)
final = n
final = re.sub(' |"','',final)
final = re.sub("'",'',final)
fi = final.split('\\')
if fi:
final = fi[0]
"""
link = re.findall('eval[(][^"]*.split',content)