소스 검색

YoutubePlaylistIE: don't look into entry['content']['src'], accruing to the docs this can return live stream urls

Jaime Marquínez Ferrándiz 12 년 전
부모
커밋
953dd93a48
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      youtube_dl/InfoExtractors.py

+ 0 - 5
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