From: Jaime Marquínez Ferrándiz Date: Sat, 22 Jun 2013 10:32:27 +0000 (+0200) Subject: YoutubePlaylistIE: don't look into entry['content']['src'], accruing to the docs... X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=953dd93a481dc879033e92a8f1547782af04d6ff;p=youtube-dl YoutubePlaylistIE: don't look into entry['content']['src'], accruing to the docs this can return live stream urls --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 418c23f74..f5006d23e 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -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