aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/abc.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-01-24 01:21:39 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-01-24 03:24:23 +0530
commit88f23a18e0a0f5f18ed167b6a319c54255c5dd13 (patch)
treec2f10fb8ae0e07e88c84b93b555dbfc8cc2cbc61 /yt_dlp/extractor/abc.py
parentbb66c24797edd8740a27efb8d77669dbb0e859b7 (diff)
downloadhypervideo-pre-88f23a18e0a0f5f18ed167b6a319c54255c5dd13.tar.lz
hypervideo-pre-88f23a18e0a0f5f18ed167b6a319c54255c5dd13.tar.xz
hypervideo-pre-88f23a18e0a0f5f18ed167b6a319c54255c5dd13.zip
[docs,cleanup] Fix linter and misc cleanup
Closes #2419
Diffstat (limited to 'yt_dlp/extractor/abc.py')
-rw-r--r--yt_dlp/extractor/abc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/abc.py b/yt_dlp/extractor/abc.py
index 0dde4a9a5..9d6f5a435 100644
--- a/yt_dlp/extractor/abc.py
+++ b/yt_dlp/extractor/abc.py
@@ -300,7 +300,7 @@ class ABCIViewShowSeriesIE(InfoExtractor):
unescapeHTML(webpage_data).encode('utf-8').decode('unicode_escape'), show_id)
video_data = video_data['route']['pageData']['_embedded']
- highlight = try_get(video_data, lambda x: ['highlightVideo']['shareUrl'])
+ highlight = try_get(video_data, lambda x: x['highlightVideo']['shareUrl'])
if not self._yes_playlist(show_id, bool(highlight), video_label='highlight video'):
return self.url_result(highlight, ie=ABCIViewIE.ie_key())