|
@ -1723,12 +1723,11 @@ class YoutubePlaylistIE(InfoExtractor): |
|
|
if 'feed' not in response: |
|
|
if 'feed' not in response: |
|
|
self._downloader.report_error(u'Got a malformed response from YouTube API') |
|
|
self._downloader.report_error(u'Got a malformed response from YouTube API') |
|
|
return |
|
|
return |
|
|
|
|
|
playlist_title = response['feed']['title']['$t'] |
|
|
if 'entry' not in response['feed']: |
|
|
if 'entry' not in response['feed']: |
|
|
# Number of videos is a multiple of self._MAX_RESULTS |
|
|
# Number of videos is a multiple of self._MAX_RESULTS |
|
|
break |
|
|
break |
|
|
|
|
|
|
|
|
playlist_title = response['feed']['title']['$t'] |
|
|
|
|
|
|
|
|
|
|
|
videos += [ (entry['yt$position']['$t'], entry['content']['src']) |
|
|
videos += [ (entry['yt$position']['$t'], entry['content']['src']) |
|
|
for entry in response['feed']['entry'] |
|
|
for entry in response['feed']['entry'] |
|
|
if 'content' in entry ] |
|
|
if 'content' in entry ] |
|
|