mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
[nfb] Add rtmp app field to format
This commit is contained in:
parent
a5f707c495
commit
00cf938aa5
|
@ -74,7 +74,8 @@ def extract_thumbnail(media):
|
||||||
description = media.find('description').text
|
description = media.find('description').text
|
||||||
# It seems assets always go from lower to better quality, so no need to sort
|
# It seems assets always go from lower to better quality, so no need to sort
|
||||||
formats = [{
|
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,
|
'play_path': x.find('default/url').text,
|
||||||
'rtmp_live': False,
|
'rtmp_live': False,
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user