Fix issue with URL host parameter

This commit is contained in:
pluja 2020-10-10 21:30:59 +02:00
parent d6501f4cb9
commit 023798abce

View File

@ -474,7 +474,7 @@ def watch():
for source in vsources:
hostName = urllib.parse.urlparse(source['src']).netloc
source['src'] = source['src'].replace("https://{}".format(hostName), "") + "?host=" + hostName
source['src'] = source['src'].replace("https://{}".format(hostName), "") + "&host=" + hostName
# Parse video formats
for v_format in info['formats']: