Skip to content

A feature-rich command-line audio/video downloader

[youtube:watchlater] Fix extraction (Closes #10544)

Sergey M․7e5dc339de14
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 4c8edef8d4..0bc85af74e 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -2376,7 +2376,7 @@ class YoutubeWatchLaterIE(YoutubePlaylistIE):
}]
def _real_extract(self, url):
- video = self._check_download_just_video(url, 'WL')
+ _, video = self._check_download_just_video(url, 'WL')
if video:
return video
_, playlist = self._extract_playlist('WL')