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

@ -90,7 +90,7 @@ class ArnesIE(InfoExtractor):
'timestamp': parse_iso8601(video.get('creationTime')),
'channel': channel.get('name'),
'channel_id': channel_id,
'channel_url': format_field(channel_id, template=f'{self._BASE_URL}/?channel=%s'),
'channel_url': format_field(channel_id, None, f'{self._BASE_URL}/?channel=%s'),
'duration': float_or_none(video.get('duration'), 1000),
'view_count': int_or_none(video.get('views')),
'tags': video.get('hashtags'),