aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/vine.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/vine.py')
-rw-r--r--hypervideo_dl/extractor/vine.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/hypervideo_dl/extractor/vine.py b/hypervideo_dl/extractor/vine.py
index 07fce0d..e59b103 100644
--- a/hypervideo_dl/extractor/vine.py
+++ b/hypervideo_dl/extractor/vine.py
@@ -6,6 +6,7 @@ from .common import InfoExtractor
from ..compat import compat_str
from ..utils import (
determine_ext,
+ format_field,
int_or_none,
unified_timestamp,
)
@@ -92,7 +93,7 @@ class VineIE(InfoExtractor):
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,