Fix Live Streams

login
azzy9 2 years ago committed by GitHub
parent a16b07714f
commit 8517daa0d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -263,7 +263,7 @@ def resolver(url):
embed_re = re.compile(',"embedUrl":"(.*?)",', re.MULTILINE|re.DOTALL|re.IGNORECASE).findall(data)
if embed_re:
data = getRequest(embed_re[0])
sizes = [ '1080', '720', '480', '360' ]
sizes = [ '1080', '720', '480', '360', 'hls' ]
# reverses array - small to large
if playbackMethod == '1':
@ -271,7 +271,7 @@ def resolver(url):
for quality in sizes:
matches = re.compile('"' + quality + '":.+?url.+?:"(.*?)",', re.MULTILINE|re.DOTALL|re.IGNORECASE).findall(data)
matches = re.compile( '"' + quality + '".+?url.+?:"(.*?)"', re.MULTILINE|re.DOTALL|re.IGNORECASE).findall(data)
if matches:
if playbackMethod == '2':

Loading…
Cancel
Save