aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/younow.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/younow.py')
-rw-r--r--hypervideo_dl/extractor/younow.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/hypervideo_dl/extractor/younow.py b/hypervideo_dl/extractor/younow.py
index 583aea3..18112ba 100644
--- a/hypervideo_dl/extractor/younow.py
+++ b/hypervideo_dl/extractor/younow.py
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
import itertools
from .common import InfoExtractor
@@ -94,7 +91,7 @@ def _extract_moment(item, fatal=True):
uploader = try_get(item, lambda x: x['owner']['name'], compat_str)
uploader_id = try_get(item, lambda x: x['owner']['userId'])
- uploader_url = format_field(uploader, template='https://www.younow.com/%s')
+ uploader_url = format_field(uploader, None, 'https://www.younow.com/%s')
entry = {
'extractor_key': 'YouNowMoment',