aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-12-05 04:45:30 +0700
committerSergey M․ <dstftw@gmail.com>2020-12-05 04:45:30 +0700
commit13ec444a982fa0c3b2e61666792069d35111ff31 (patch)
treee7569fc713573ad5229cb8261194b5da73796e99 /youtube_dl
parent51579d87e4435d5e661329dcefd0422d263bb56b (diff)
[peertube] Extract fps
Diffstat (limited to 'youtube_dl')
-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 2d00791d2..c39d12728 100644
--- 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)