From 023798abce4fe833513b48263d4b8fc5b083aa61 Mon Sep 17 00:00:00 2001 From: pluja Date: Sat, 10 Oct 2020 21:30:59 +0200 Subject: [PATCH] Fix issue with URL host parameter --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index bdc8a74..f96a6e1 100644 --- a/app/routes.py +++ b/app/routes.py @@ -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']: