]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/vine.py
[cleanup] Use format_field where applicable
[yt-dlp.git] / yt_dlp / extractor / vine.py
index 07fce0daa41bbe77d7fb7b57dce24067e1d03995..e59b1037b0df91fcad50714a74a6e6687af8c493 100644 (file)
@@ -6,6 +6,7 @@
 from ..compat import compat_str
 from ..utils import (
     determine_ext,
+    format_field,
     int_or_none,
     unified_timestamp,
 )
@@ -92,7 +93,7 @@ def video_url(kind):
 
         username = data.get('username')
 
-        alt_title = 'Vine by %s' % username if username else None
+        alt_title = format_field(username, template='Vine by %s')
 
         return {
             'id': video_id,