1
0
Fork 0

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

This commit is contained in:
pukkandan 2022-06-18 07:30:12 +05:30
commit a70635b8a1
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
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'),
}