diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-12-05 04:41:33 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-12-05 04:41:33 +0700 |
commit | 51579d87e4435d5e661329dcefd0422d263bb56b (patch) | |
tree | ec254f7281d40c26a700ca89fe7645f0b56594e4 /youtube_dl/extractor/peertube.py | |
parent | e1476196692131fa7218f9cf91571b40bb4facb8 (diff) |
[peertube] Recognize audio-only formats (closes #27295)
Diffstat (limited to 'youtube_dl/extractor/peertube.py')
-rw-r--r-- | youtube_dl/extractor/peertube.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |