From: Sergey M․ Date: Fri, 4 Dec 2020 21:41:33 +0000 (+0700) Subject: [peertube] Recognize audio-only formats (closes #27295) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=51579d87e4435d5e661329dcefd0422d263bb56b;p=youtube-dl [peertube] Recognize audio-only formats (closes #27295) --- diff --git a/youtube_dl/extractor/peertube.py b/youtube_dl/extractor/peertube.py index 48fb95416..2d00791d2 100644 --- a/youtube_dl/extractor/peertube.py +++ b/youtube_dl/extractor/peertube.py @@ -541,6 +541,8 @@ class PeerTubeIE(InfoExtractor): 'format_id': format_id, 'filesize': file_size, }) + if format_id == '0p': + f['vcodec'] = 'none' formats.append(f) self._sort_formats(formats)