[yuja] fix style for flake8

This commit is contained in:
Brian Clinkenbeard 2020-04-04 20:13:29 -07:00
parent 55d54e32b2
commit 5667922fda

View File

@ -77,6 +77,7 @@ class YuJaIE(InfoExtractor):
'ext': 'mp4', 'ext': 'mp4',
'format_id': 'mp4_hls', 'format_id': 'mp4_hls',
'protocol': 'm3u8', 'protocol': 'm3u8',
'source_preference': 1
}) })
if data.get('videoLinkMp4'): if data.get('videoLinkMp4'):
@ -84,9 +85,9 @@ class YuJaIE(InfoExtractor):
'url': data.get('videoLinkMp4'), 'url': data.get('videoLinkMp4'),
'ext': 'mp4', 'ext': 'mp4',
'format_id': 'mp4', 'format_id': 'mp4',
'source_preference': 0
}) })
return { return {
'id': video_id, 'id': video_id,
'title': data['videoTitle'], 'title': data['videoTitle'],