diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-12-05 04:45:30 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-12-05 04:45:30 +0700 |
commit | 13ec444a982fa0c3b2e61666792069d35111ff31 (patch) | |
tree | e7569fc713573ad5229cb8261194b5da73796e99 | |
parent | 51579d87e4435d5e661329dcefd0422d263bb56b (diff) |
[peertube] Extract fps
-rw-r--r-- | youtube_dl/extractor/peertube.py | 2 |
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) |