From 96d2ecc584c624edca95dc1550e02046d5ee1947 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Fri, 15 Jan 2021 11:57:28 +0100 Subject: [PATCH] Fix issue in case of a single season/episode --- youtube_dl/extractor/vier.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl/extractor/vier.py b/youtube_dl/extractor/vier.py index 251b94f4e..5f7024ff4 100644 --- a/youtube_dl/extractor/vier.py +++ b/youtube_dl/extractor/vier.py @@ -71,6 +71,9 @@ class VierVijfKijkOnlineIE(InfoExtractor): else: season = title_split[1].strip() episode = title_split[2].split('Aflevering')[1].strip() + elif len(title_split) == 1: + season = None + episode = None else: season = None episode = title_split[1].split('Aflevering')[1].strip()