fix youtube quirk

This commit is contained in:
Roy Olav Purser 2021-05-12 00:00:54 +02:00
parent d4925981d5
commit 850e4d8cd8
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -166,7 +166,7 @@ class MainHandler(tornado.web.RequestHandler):
path = self.request.path path = self.request.path
if provider == "youtube": if provider == "youtube":
path = path.strip("/") path = path.strip("/")
src = providers[provider] + self.request.path src = providers[provider] + path
proxy_list = None proxy_list = None
proxy_iter = None proxy_iter = None
proxy_list_orig = proxies.get(provider) proxy_list_orig = proxies.get(provider)