aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/nfb.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/nfb.py')
-rw-r--r--youtube_dl/extractor/nfb.py3
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',