From a7191c6f577e5a43d9f2e7108d05368a4f988aac Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 16 Apr 2021 05:30:46 +0530 Subject: Fix some linter and typos --- yt_dlp/extractor/viu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'yt_dlp/extractor/viu.py') diff --git a/yt_dlp/extractor/viu.py b/yt_dlp/extractor/viu.py index 92422f197..3292d553e 100644 --- a/yt_dlp/extractor/viu.py +++ b/yt_dlp/extractor/viu.py @@ -14,6 +14,7 @@ from ..compat import ( from ..utils import ( ExtractorError, int_or_none, + try_get, smuggle_url, unsmuggle_url, ) @@ -344,7 +345,7 @@ class ViuOTTIE(InfoExtractor): video_id, 'Downloading stream info', query=query, headers=headers) try: stream_data = self._detect_error(stream_data)['stream'] - except (ExtractorError, KeyError): # if still not working, give up + except (ExtractorError, KeyError): # if still not working, give up self._raise_login_required() if not stream_data: -- cgit v1.2.3