Browse Source

[adultswim] Skip georestricted hls (Closes #8168)

master
Sergey M․ 9 years ago
parent
commit
18e6c97c48
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/adultswim.py

3
youtube_dl/extractor/adultswim.py

@ -187,7 +187,8 @@ class AdultSwimIE(InfoExtractor):
media_url = file_el.text media_url = file_el.text
if determine_ext(media_url) == 'm3u8': if determine_ext(media_url) == 'm3u8':
formats.extend(self._extract_m3u8_formats( formats.extend(self._extract_m3u8_formats(
media_url, segment_title, 'mp4', preference=0, m3u8_id='hls'))
media_url, segment_title, 'mp4', preference=0,
m3u8_id='hls', fatal=False))
else: else:
formats.append({ formats.append({
'format_id': '%s_%s' % (bitrate, ftype), 'format_id': '%s_%s' % (bitrate, ftype),

Loading…
Cancel
Save