[AnimeLab] Fix extracting videos with null season data
This commit is contained in:
parent
2f6d029e96
commit
2cf8283701
|
@ -140,7 +140,7 @@ class AnimeLabIE(AnimeLabBaseIE):
|
|||
'height': image_data.get('height'),
|
||||
})
|
||||
|
||||
season_data = raw_data.get('season', {})
|
||||
season_data = raw_data.get('season', {}) or {}
|
||||
season = str_or_none(season_data.get('name'))
|
||||
season_number = int_or_none(season_data.get('seasonNumber'))
|
||||
season_id = str_or_none(season_data.get('id'))
|
||||
|
|
Loading…
Reference in New Issue