1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 16:42:52 +08:00

Some syntax fixes

This commit is contained in:
midas02 2017-05-09 20:00:36 +02:00 committed by GitHub
parent 3c3969beb1
commit ed110ce3b2

View File

@ -162,7 +162,7 @@ class MedialaanIE(InfoExtractor):
video_id, transform_source=lambda s: '[%s]' % s, fatal=False) video_id, transform_source=lambda s: '[%s]' % s, fatal=False)
if player: if player:
video = player[-1] video = player[-1]
if video['videoUrl'] in ('http','https'): if video['videoUrl'] in ('http', 'https'):
return self.url_result(video['url'], MedialaanIE.ie_key()) return self.url_result(video['url'], MedialaanIE.ie_key())
info = { info = {
'id': video_id, 'id': video_id,