Fix Wstream

This commit is contained in:
Alhaziel01
2020-04-12 18:46:58 +02:00
parent 5d20cf73f6
commit ca26d57b4b

View File

@@ -59,6 +59,8 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
video_urls.append(['%s [%s]' % (key['type'].replace('video/', ''), key['label']),
key['src'].replace('https', 'http') + '|' + _headers])
else:
if not 'src' in key and 'file' in key: key['src'] = key['file']
if key['file'].split('.')[-1] == 'mpd': pass
video_urls.append([key['src'].split('.')[-1], key['src'].replace('https', 'http') + '|' + _headers])
except:
pass