1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-10 19:37:25 +00:00

[nfb] Add rtmp app field to format

This commit is contained in:
Sergey M. 2014-02-16 06:11:38 +07:00
parent a5f707c495
commit 00cf938aa5

View File

@ -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',