1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-17 15:05:13 +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

@@ -116,7 +116,7 @@ class MedalTVIE(InfoExtractor):
author = try_get(
hydration_data, lambda x: list(x['profiles'].values())[0], dict) or {}
author_id = str_or_none(author.get('id'))
author_url = format_field(author_id, template='https://medal.tv/users/%s')
author_url = format_field(author_id, None, 'https://medal.tv/users/%s')
return {
'id': video_id,