diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index e47d8b85d..b20e6b46d 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -4183,7 +4183,7 @@ def _real_extract(self, url): playlist_id=m.group('playlist_id') name=m.group('name') self._downloader.to_screen(u'[%s] Getting info of playlist %s: "%s"' % (self.IE_NAME,playlist_id,name)) - return self._playlist_videos_info(url,name,playlist_id) + return [self._playlist_videos_info(url,name,playlist_id)] def _talk_video_link(self,mediaSlug): '''Returns the video link for that mediaSlug''' @@ -4200,12 +4200,17 @@ def _playlist_videos_info(self,url,name,playlist_id=0): webpage=self._download_webpage(url, playlist_id, 'Downloading playlist webpage') m_videos=re.finditer(video_RE,webpage,re.VERBOSE) m_names=re.finditer(video_name_RE,webpage) - info=[] + + playlist_RE = r'div class="headline">(\s*?)