projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51579d8
)
[peertube] Extract fps
author
Sergey M․
<dstftw@gmail.com>
Fri, 4 Dec 2020 21:45:30 +0000
(
04:45
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 4 Dec 2020 21:45:30 +0000
(
04:45
+0700)
youtube_dl/extractor/peertube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/peertube.py
b/youtube_dl/extractor/peertube.py
index 2d00791d23a915c7c4738c754bfc43b4220b9c50..c39d12728d4fb2aa61494de77c9964d76d45d355 100644
(file)
--- 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)