[YoutubeDL] Add playlist_id and playlist_title fields (Fixes #4139)
[youtube-dl] / youtube_dl / extractor / youtube.py
index b1cf15472441958ab19fb11663a2d344a143d496..5406de50b465e95ee2481aecc61d0e7747bf379e 100644 (file)
@@ -696,7 +696,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
             video_info_url = proto + '://www.youtube.com/get_video_info?' + data
             video_info_webpage = self._download_webpage(
                 video_info_url, video_id,
-                note='Refetching age-gated webpage',
+                note='Refetching age-gated info webpage',
                 errnote='unable to download video info webpage')
             video_info = compat_parse_qs(video_info_webpage)
         else:
@@ -1043,6 +1043,7 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
         'url': 'https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re',
         'info_dict': {
             'title': 'ytdl test PL',
+            'id': 'PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re',
         },
         'playlist_count': 3,
     }, {