logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 51579d87e4435d5e661329dcefd0422d263bb56b
parent e1476196692131fa7218f9cf91571b40bb4facb8
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat,  5 Dec 2020 04:41:33 +0700

[peertube] Recognize audio-only formats (closes #27295)

Diffstat:

Myoutube_dl/extractor/peertube.py2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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)