This commit is contained in:
pluja 2020-09-20 12:03:05 +02:00
parent 751613acc2
commit 61e2c27151

View File

@ -308,12 +308,12 @@ def watch():
# Use nginx # Use nginx
try: try:
url = info['video']['url'].replace("https://{}".format(hostName), "")+"?host="+hostName url = info['video']['url'].replace("https://{}".format(hostName), "")+"&host="+hostName
except: except:
url = "#" url = "#"
try: try:
audioUrl = info['video']['audio']['url'].replace("https://{}".format(audioHostName), "")+"?host="+audioHostName audioUrl = info['video']['audio']['url'].replace("https://{}".format(audioHostName), "")+"&host="+audioHostName
print(audioUrl) print(audioUrl)
except: except:
audioUrl = False audioUrl = False