mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 02:14:32 +01:00
vier - update on season extraction part
This commit is contained in:
parent
3eac4085bd
commit
a91706bda6
@ -73,7 +73,10 @@ class VierVijfKijkOnlineIE(CognitoBaseIE):
|
||||
title_split = title.split(' - ')
|
||||
series = title_split[0].strip()
|
||||
if len(title_split) == 3:
|
||||
if 'Seizoen' in title_split[1]:
|
||||
season = title_split[1].split('Seizoen')[1].strip()
|
||||
else:
|
||||
season = title_split[1].strip()
|
||||
episode = title_split[2].split('Aflevering')[1].strip()
|
||||
else:
|
||||
season = None
|
||||
|
Loading…
Reference in New Issue
Block a user