1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 13:52:53 +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)
if player:
video = player[-1]
if video['videoUrl'] in ('http','https'):
if video['videoUrl'] in ('http', 'https'):
return self.url_result(video['url'], MedialaanIE.ie_key())
info = {
'id': video_id,