]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/vine.py
[cleanup, utils] Don't use kwargs for `format_field`
[yt-dlp.git] / yt_dlp / extractor / vine.py
index e59b1037b0df91fcad50714a74a6e6687af8c493..947f5cdb698337692caeab70c5df58438d8ef2bd 100644 (file)
@@ -1,7 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
-
 from .common import InfoExtractor
 from ..compat import compat_str
 from ..utils import (
@@ -93,7 +89,7 @@ def video_url(kind):
 
         username = data.get('username')
 
-        alt_title = format_field(username, template='Vine by %s')
+        alt_title = format_field(username, None, 'Vine by %s')
 
         return {
             'id': video_id,