]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/abc.py
[docs,cleanup] Fix linter and misc cleanup
[yt-dlp.git] / yt_dlp / extractor / abc.py
index 0dde4a9a57da70d9a43ab4647974fd4fad2172a4..9d6f5a43512f69e26d60e16f530ffe475439d95a 100644 (file)
@@ -300,7 +300,7 @@ def _real_extract(self, url):
             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())