mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-01 15:29:50 +08:00
[AnimeLab] Fix extracting videos with null season data
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user