From c0bddd6d6597642c7c4733d0fbf52fbe4137d5a0 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Wed, 11 Oct 2017 22:24:17 +0200 Subject: [PATCH] [kaltura] Ignore Widevine encrypted video (.wvm) There is currently no public method to decrypt this, and there may be other streams available that can be downloaded. Example URL, has `.wvm` and `.mp4` formats: https://www.voot.com/shows/bigg-boss-s11/11/538936/bigg-boss-extra-dose-arshi-s-quirky-demand/541700 --- youtube_dl/extractor/kaltura.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl/extractor/kaltura.py b/youtube_dl/extractor/kaltura.py index 138d4844d..bdac2df3e 100644 --- a/youtube_dl/extractor/kaltura.py +++ b/youtube_dl/extractor/kaltura.py @@ -287,6 +287,9 @@ def sign_url(unsigned_url): # skip for now. if f.get('fileExt') == 'chun': continue + # DRM-protected video, cannot be decrypted + if f.get('fileExt') == 'wvm': + continue if not f.get('fileExt'): # QT indicates QuickTime; some videos have broken fileExt if f.get('containerFormat') == 'qt':