Fix broken videos
A rough trick to get around the two different json styles medialaan seems to be using. Fix for these example videos: https://vtmkzoom.be/video?aid=45724 https://vtmkzoom.be/video?aid=45425
This commit is contained in:
parent
bf1b87cd91
commit
a6c0097cc6
@ -146,6 +146,8 @@ class MedialaanIE(InfoExtractor):
|
||||
video_id, transform_source=lambda s: '[%s]' % s, fatal=False)
|
||||
if player:
|
||||
video = player[-1]
|
||||
if video['videoUrl'] == "https":
|
||||
return self.url_result(video['url'], 'Medialaan')
|
||||
info = {
|
||||
'id': video_id,
|
||||
'url': video['videoUrl'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user