From 13ec444a982fa0c3b2e61666792069d35111ff31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sat, 5 Dec 2020 04:45:30 +0700 Subject: [PATCH] [peertube] Extract fps --- youtube_dl/extractor/peertube.py | 2 ++ 1 file changed, 2 insertions(+) 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)