Fix issue in case of a single season/episode

This commit is contained in:
Cedric Nugteren 2021-01-15 11:57:28 +01:00
parent dc96ac5f09
commit 96d2ecc584

View File

@ -71,6 +71,9 @@ class VierVijfKijkOnlineIE(InfoExtractor):
else: else:
season = title_split[1].strip() season = title_split[1].strip()
episode = title_split[2].split('Aflevering')[1].strip() episode = title_split[2].split('Aflevering')[1].strip()
elif len(title_split) == 1:
season = None
episode = None
else: else:
season = None season = None
episode = title_split[1].split('Aflevering')[1].strip() episode = title_split[1].split('Aflevering')[1].strip()