about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-02-28 14:06:26 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-02-28 14:06:26 +0100
commit9173202b84ea303c83c30b7305a1dcec5ccbe9e6 (patch)
treeb4ef271c1f0b05be288e25888aa8a1cd7b408153
parent8870bb4653982a81c2ff332103499e12a825099c (diff)
downloadyoutube-dl-9173202b84ea303c83c30b7305a1dcec5ccbe9e6.tar.gz
youtube-dl-9173202b84ea303c83c30b7305a1dcec5ccbe9e6.tar.xz
youtube-dl-9173202b84ea303c83c30b7305a1dcec5ccbe9e6.zip
[zdf] Ignore hls manifests that use https (closes #8665)
The certificates are misconfigured, you get the following error mesage:

    ssl.CertificateError: hostname u'zdf-hdios-none-i.zdf.de' doesn't match either of 'a248.e.akamai.net', '*.akamaihd.net', '*.akamaihd-staging.net', '*.akamaized.net', '*.akamaized-staging.net'
-rw-r--r--youtube_dl/extractor/zdf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/zdf.py b/youtube_dl/extractor/zdf.py
index c619a75e2..81c22a627 100644
--- a/youtube_dl/extractor/zdf.py
+++ b/youtube_dl/extractor/zdf.py
@@ -137,6 +137,10 @@ class ZDFIE(InfoExtractor):
                 formats.extend(self._extract_smil_formats(
                     video_url, video_id, fatal=False))
             elif ext == 'm3u8':
+                # the certificates are misconfigured (see
+                # https://github.com/rg3/youtube-dl/issues/8665)
+                if video_url.startswith('https://'):
+                    continue
                 formats.extend(self._extract_m3u8_formats(
                     video_url, video_id, 'mp4', m3u8_id=format_id, fatal=False))
             elif ext == 'f4m':