mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-28 13:10:46 +00:00
@@ -6,6 +6,7 @@ from ..utils import (
|
||||
ExtractorError,
|
||||
format_field,
|
||||
int_or_none,
|
||||
str_or_none,
|
||||
try_get,
|
||||
)
|
||||
|
||||
@@ -102,7 +103,7 @@ def _extract_moment(item, fatal=True):
|
||||
'timestamp': int_or_none(item.get('created')),
|
||||
'creator': uploader,
|
||||
'uploader': uploader,
|
||||
'uploader_id': uploader_id,
|
||||
'uploader_id': str_or_none(uploader_id),
|
||||
'uploader_url': uploader_url,
|
||||
'formats': [{
|
||||
'url': 'https://hls.younow.com/momentsplaylists/live/%s/%s.m3u8'
|
||||
@@ -184,7 +185,7 @@ class YouNowMomentIE(InfoExtractor):
|
||||
'timestamp': 1490432040,
|
||||
'upload_date': '20170325',
|
||||
'uploader': 'GABO...',
|
||||
'uploader_id': 35917228,
|
||||
'uploader_id': '35917228',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user