Browse Source

[peertube] Extract fps

Sergey M․ 4 years ago
parent
commit
13ec444a98
1 changed files with 2 additions and 0 deletions
  1. 2 0
      youtube_dl/extractor/peertube.py

+ 2 - 0
youtube_dl/extractor/peertube.py

@@ -543,6 +543,8 @@ class PeerTubeIE(InfoExtractor):
             })
             })
             if format_id == '0p':
             if format_id == '0p':
                 f['vcodec'] = 'none'
                 f['vcodec'] = 'none'
+            else:
+                f['fps'] = int_or_none(file_.get('fps'))
             formats.append(f)
             formats.append(f)
         self._sort_formats(formats)
         self._sort_formats(formats)