From b92cf44f359c7ef24c8e4e2474ec7b96f420c72a Mon Sep 17 00:00:00 2001 From: girst Date: Sat, 6 Nov 2021 14:09:48 +0100 Subject: [PATCH] add NO-URL error description --- app/youtube/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/youtube/__init__.py b/app/youtube/__init__.py index 052de8e..6c773a4 100644 --- a/app/youtube/__init__.py +++ b/app/youtube/__init__.py @@ -87,9 +87,10 @@ def watch(): 'geolocked': "This video is geolocked.", 'livestream': "Livestreams not supported on this instance.", 'agegated': "Unable to bypass age-restriction.", + 'no-url': "No muxed stream available.", 'exhausted': errdetails or "Couldn't extract video URLs.", 'player': errdetails, - }.get(error) + }.get(error, error) # if the video is geolocked, and the proxy is enabled, we can still play # it, if the video is available in the instance server's region: -- 2.39.3