1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

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

This commit is contained in:
Sergey M․ 2016-09-04 00:29:01 +07:00
parent 4a69fa04e0
commit 7e5dc339de
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -2376,7 +2376,7 @@ class YoutubeWatchLaterIE(YoutubePlaylistIE):
}] }]
def _real_extract(self, url): def _real_extract(self, url):
video = self._check_download_just_video(url, 'WL') _, video = self._check_download_just_video(url, 'WL')
if video: if video:
return video return video
_, playlist = self._extract_playlist('WL') _, playlist = self._extract_playlist('WL')