]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/trovo.py
[cleanup, utils] Don't use kwargs for `format_field`
[yt-dlp.git] / yt_dlp / extractor / trovo.py
index c049025a3edc37a7877f7a6a1650cbc39723dc73..d434119282e461f14d0dfc53c88aca0cb0531490 100644 (file)
@@ -38,7 +38,7 @@ def _extract_streamer_info(self, data):
         return {
             'uploader': streamer_info.get('nickName'),
             'uploader_id': str_or_none(streamer_info.get('uid')),
-            'uploader_url': format_field(username, template='https://trovo.live/%s'),
+            'uploader_url': format_field(username, None, 'https://trovo.live/%s'),
         }