From 1638252d22571c125a45f14110c6807e5a70f428 Mon Sep 17 00:00:00 2001 From: pluja Date: Mon, 5 Oct 2020 17:19:10 +0200 Subject: [PATCH] Fixes channel avatars not shown on search --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 62f3694..13effee 100644 --- a/app/routes.py +++ b/app/routes.py @@ -283,7 +283,7 @@ def ytsearch(): if config['nginxVideoStream']: channel['thumbnail'] = channel['thumbnail'].replace("~", "/") hostName = urllib.parse.urlparse(channel['thumbnail']).netloc - channel['thumbnail'] = channel['thumbnail'].replace("https://{}".format(hostName), "")+"&host="+hostName + channel['thumbnail'] = channel['thumbnail'].replace("https://{}".format(hostName), "")+"?host="+hostName print(channel['thumbnail']) return render_template('ytsearch.html', form=form, btform=button_form, results=results, restricted=config['restrictPublicUsage'], config=config)