diff options
author | Sergey M. <dstftw@gmail.com> | 2014-02-16 06:11:38 +0700 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2014-02-16 06:11:38 +0700 |
commit | 00cf938aa54af446d20d01f5184d09880af803f3 (patch) | |
tree | 02787496f42dfd2f0b89b05f96693414cb369121 /youtube_dl/extractor | |
parent | a5f707c4958389d4292f904e9b2f08e93d6bbcd2 (diff) |
[nfb] Add rtmp app field to format
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/nfb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nfb.py b/youtube_dl/extractor/nfb.py index a8c514f53..e88566c69 100644 --- 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', |