Browse Source

[nfb] Add rtmp app field to format

totalwebcasting
Sergey M. 11 years ago
parent
commit
00cf938aa5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/nfb.py

+ 2
- 1
youtube_dl/extractor/nfb.py 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',


Loading…
Cancel
Save