Fix typo
This commit is contained in:
parent
751613acc2
commit
61e2c27151
@ -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
|
||||||
|
Reference in New Issue
Block a user