1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 22:55:18 +00:00

[cleanup, utils] Don't use kwargs for format_field

This commit is contained in:
pukkandan
2022-06-18 07:30:12 +05:30
parent e121e3cee7
commit a70635b8a1
25 changed files with 32 additions and 32 deletions

View File

@@ -152,7 +152,7 @@ class VidioIE(VidioBaseIE):
'uploader': user.get('name'),
'timestamp': parse_iso8601(video.get('created_at')),
'uploader_id': username,
'uploader_url': format_field(username, template='https://www.vidio.com/@%s'),
'uploader_url': format_field(username, None, 'https://www.vidio.com/@%s'),
'channel': channel.get('name'),
'channel_id': str_or_none(channel.get('id')),
'view_count': get_count('view_count'),
@@ -283,5 +283,5 @@ class VidioLiveIE(VidioBaseIE):
'uploader': user.get('name'),
'timestamp': parse_iso8601(stream_meta.get('start_time')),
'uploader_id': username,
'uploader_url': format_field(username, template='https://www.vidio.com/@%s'),
'uploader_url': format_field(username, None, 'https://www.vidio.com/@%s'),
}