[youtube:watchlater] Fix extraction (Closes #10544)
authorSergey M․ <dstftw@gmail.com>
Sat, 3 Sep 2016 17:29:01 +0000 (00:29 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 3 Sep 2016 17:29:01 +0000 (00:29 +0700)
youtube_dl/extractor/youtube.py

index 4c8edef8d4d66a8abb5709305f36bda8fbef853a..0bc85af74e631c21136e951d3a6f3d97ed8dd3d0 100644 (file)
@@ -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')