projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f707c
)
[nfb] Add rtmp app field to format
author
Sergey M.
<dstftw@gmail.com>
Sat, 15 Feb 2014 23:11:38 +0000
(06:11 +0700)
committer
Sergey M.
<dstftw@gmail.com>
Sat, 15 Feb 2014 23:11:38 +0000
(06:11 +0700)
youtube_dl/extractor/nfb.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nfb.py
b/youtube_dl/extractor/nfb.py
index a8c514f53d96a016e3147b21f9e6f438b9450904..e88566c693c9139ae725604427fb8cd3894e7e3b 100644
(file)
--- a/
youtube_dl/extractor/nfb.py
+++ b/
youtube_dl/extractor/nfb.py
@@
-74,7
+74,8
@@
class NFBIE(InfoExtractor):
description = media.find('description').text
# It seems assets always go from lower to better quality, so no need to sort
formats = [{
- 'url': x.find('default/streamerURI').text + '/',
+ 'url': x.find('default/streamerURI').text,
+ 'app': x.find('default/streamerURI').text.split('/', 3)[3],
'play_path': x.find('default/url').text,
'rtmp_live': False,
'ext': 'mp4',