From: Sergey M. Date: Sat, 15 Feb 2014 23:11:38 +0000 (+0700) Subject: [nfb] Add rtmp app field to format X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=00cf938aa54af446d20d01f5184d09880af803f3;p=youtube-dl [nfb] Add rtmp app field to format --- 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',