]> git.bitcoin.ninja Git - youtube-dl/commitdiff
YoutubePlaylistIE: don't look into entry['content']['src'], accruing to the docs...
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 22 Jun 2013 10:32:27 +0000 (12:32 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 22 Jun 2013 10:32:27 +0000 (12:32 +0200)
youtube_dl/InfoExtractors.py

index 418c23f748de3a33f21bb2ad251dcf9ff190d36c..f5006d23e2bf41d2253bfd007283a1fc6b430975 100755 (executable)
@@ -1610,11 +1610,6 @@ class YoutubePlaylistIE(InfoExtractor):
                 index = entry['yt$position']['$t']
                 if 'media$group' in entry and 'media$player' in entry['media$group']:
                     videos.append((index, entry['media$group']['media$player']['url']))
-                # Using this field can cause problems:
-                # https://github.com/rg3/youtube-dl/issues/886
-                elif 'content' in entry:
-                    videos.append((index, entry['content']['src']))
-
 
             if len(response['feed']['entry']) < self._MAX_RESULTS:
                 break