From a70635b8a1bcf42bf587fe3cd7503f1d092009ce Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 18 Jun 2022 07:30:12 +0530 Subject: [cleanup, utils] Don't use kwargs for `format_field` --- yt_dlp/extractor/line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp/extractor/line.py') diff --git a/yt_dlp/extractor/line.py b/yt_dlp/extractor/line.py index 63b6c002a..09c512e50 100644 --- a/yt_dlp/extractor/line.py +++ b/yt_dlp/extractor/line.py @@ -34,7 +34,7 @@ class LineLiveBaseIE(InfoExtractor): 'timestamp': int_or_none(item.get('createdAt')), 'channel': channel.get('name'), 'channel_id': channel_id, - 'channel_url': format_field(channel_id, template='https://live.line.me/channels/%s'), + 'channel_url': format_field(channel_id, None, 'https://live.line.me/channels/%s'), 'duration': int_or_none(item.get('archiveDuration')), 'view_count': int_or_none(item.get('viewerCount')), 'comment_count': int_or_none(item.get('chatCount')), -- cgit v1.2.3