Browse Source

[jwplatform] Fix typo

totalwebcasting
Sergey M․ 9 years ago
parent
commit
e0898585a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/jwplatform.py

+ 1
- 1
youtube_dl/extractor/jwplatform.py View File

@ -44,7 +44,7 @@ class JWPlatformIE(InfoExtractor):
source_url = self._proto_relative_url(source['file']) source_url = self._proto_relative_url(source['file'])
source_type = source.get('type') or '' source_type = source.get('type') or ''
if source_type == 'application/vnd.apple.mpegurl': if source_type == 'application/vnd.apple.mpegurl':
m3u8_formats = self._extract_m3u8_formats(source_url, video_id, 'mp4', 'm3u8_native', fatal=None)
m3u8_formats = self._extract_m3u8_formats(source_url, video_id, 'mp4', 'm3u8_native', fatal=False)
if m3u8_formats: if m3u8_formats:
formats.extend(m3u8_formats) formats.extend(m3u8_formats)
elif source_type.startswith('audio'): elif source_type.startswith('audio'):


Loading…
Cancel
Save