From: Sergey M․ Date: Fri, 4 Dec 2020 21:45:30 +0000 (+0700) Subject: [peertube] Extract fps X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=13ec444a982fa0c3b2e61666792069d35111ff31;p=youtube-dl [peertube] Extract fps --- 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)