projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e147619
)
[peertube] Recognize audio-only formats (closes #27295)
author
Sergey M․
<dstftw@gmail.com>
Fri, 4 Dec 2020 21:41:33 +0000
(
04:41
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 4 Dec 2020 21:41:33 +0000
(
04:41
+0700)
youtube_dl/extractor/peertube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/peertube.py
b/youtube_dl/extractor/peertube.py
index 48fb9541693c35878317f22ed9dd6e2da4412ced..2d00791d23a915c7c4738c754bfc43b4220b9c50 100644
(file)
--- 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)