aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/peertube.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-12-05 04:41:33 +0700
committerSergey M․ <dstftw@gmail.com>2020-12-05 04:41:33 +0700
commit51579d87e4435d5e661329dcefd0422d263bb56b (patch)
treeec254f7281d40c26a700ca89fe7645f0b56594e4 /youtube_dl/extractor/peertube.py
parente1476196692131fa7218f9cf91571b40bb4facb8 (diff)
[peertube] Recognize audio-only formats (closes #27295)
Diffstat (limited to 'youtube_dl/extractor/peertube.py')
-rw-r--r--youtube_dl/extractor/peertube.py2
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)