From 9a14872ffd148eeff9c144db9866fe79c3a9b2f8 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sat, 1 May 2021 14:25:01 +0200 Subject: [PATCH] Update youtube_dl/extractor/vier.py Co-authored-by: Jeroen Jacobs --- youtube_dl/extractor/vier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/vier.py b/youtube_dl/extractor/vier.py index 96e53c5a7..ad8448319 100644 --- a/youtube_dl/extractor/vier.py +++ b/youtube_dl/extractor/vier.py @@ -84,7 +84,7 @@ class VierVijfKijkOnlineIE(InfoExtractor): playlists = json.loads(video_data.replace('"', '"'))['data']['playlists'] wanted_playlist = [x for x in playlists if x['pageInfo']['url'] in url][0] - wanted_episode = [x for x in wanted_playlist['episodes'] if x['pageInfo']['url'] in url][0] + wanted_episode = [x for x in wanted_playlist['episodes'] if x['pageInfo']['url'] == url][0] or [x for x in wanted_playlist['episodes'] if x['pageInfo']['url'] in url][0] video_id = wanted_episode['videoUuid'] api_url = 'https://api.viervijfzes.be/content/%s' % (video_id)