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')