]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[adultswim] Skip georestricted hls (Closes #8168)
authorSergey M․ <dstftw@gmail.com>
Thu, 7 Jan 2016 21:19:47 +0000 (03:19 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 7 Jan 2016 21:19:47 +0000 (03:19 +0600)
youtube_dl/extractor/adultswim.py

index bf21a688797070c204a95f0115245a4270773c7c..8157da2cb63af8a7079fda8c388be3108281a7ad 100644 (file)
@@ -187,7 +187,8 @@ class AdultSwimIE(InfoExtractor):
                 media_url = file_el.text
                 if determine_ext(media_url) == 'm3u8':
                     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:
                     formats.append({
                         'format_id': '%s_%s' % (bitrate, ftype),