-# coding: utf-8
-from __future__ import unicode_literals
-
import re
from .common import InfoExtractor
author = try_get(
hydration_data, lambda x: list(x['profiles'].values())[0], dict) or {}
author_id = str_or_none(author.get('id'))
- author_url = format_field(author_id, template='https://medal.tv/users/%s')
+ author_url = format_field(author_id, None, 'https://medal.tv/users/%s')
return {
'id': video_id,