From dd00a331ad5d166c3d4ef12361c6291cfa6e6e62 Mon Sep 17 00:00:00 2001 From: Oleksis Date: Sat, 6 Apr 2019 02:31:49 -0400 Subject: [PATCH] [picta] Fix some Picta DASH video vp09.00.[dd].08 for 'vcodec': 'vp9', 'acodec':'none' --- youtube_dl/extractor/picta.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/youtube_dl/extractor/picta.py b/youtube_dl/extractor/picta.py index adf798748..5d7157beb 100644 --- a/youtube_dl/extractor/picta.py +++ b/youtube_dl/extractor/picta.py @@ -91,6 +91,11 @@ class PictaIE(PictaBaseIE): # MPD manifest if info.get('manifest_url'): formats.extend(self._extract_mpd_formats(info.get('manifest_url'), video_id, formats_dict=self._formats)) + # Fix some Picta DASH video vp09.00.[dd].08 for 'vcodec': 'vp9', 'acodec':'none' + for f in formats: + if f.get('acodec') is None and f.get('vcodec') == 'none': + f.update({'vcodec':'vp9'}) + f.update({'acodec':'none'}) if not formats: raise ExtractorError('Cannot find video formats')