aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/viu.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-04-16 05:30:46 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-04-16 05:31:47 +0530
commita7191c6f577e5a43d9f2e7108d05368a4f988aac (patch)
tree02d1a8fc1784a7ca56b87779ad04846a48b2f3d0 /yt_dlp/extractor/viu.py
parentbaa58739429cd04eb250036d90a7339b640aa932 (diff)
downloadhypervideo-pre-a7191c6f577e5a43d9f2e7108d05368a4f988aac.tar.lz
hypervideo-pre-a7191c6f577e5a43d9f2e7108d05368a4f988aac.tar.xz
hypervideo-pre-a7191c6f577e5a43d9f2e7108d05368a4f988aac.zip
Fix some linter and typos
Diffstat (limited to 'yt_dlp/extractor/viu.py')
-rw-r--r--yt_dlp/extractor/viu.py3
1 files changed, 2 insertions, 1 deletions
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: