소스 검색

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

Sergey M․ 5 년 전
부모
커밋
51579d87e4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      youtube_dl/extractor/peertube.py

+ 2 - 0
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)