commit: 13ec444a982fa0c3b2e61666792069d35111ff31
parent 51579d87e4435d5e661329dcefd0422d263bb56b
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 5 Dec 2020 04:45:30 +0700
[peertube] Extract fps
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/youtube_dl/extractor/peertube.py b/youtube_dl/extractor/peertube.py
@@ -543,6 +543,8 @@ class PeerTubeIE(InfoExtractor):
})
if format_id == '0p':
f['vcodec'] = 'none'
+ else:
+ f['fps'] = int_or_none(file_.get('fps'))
formats.append(f)
self._sort_formats(formats)