|
|
@ -12,8 +12,10 @@ from ..utils import (
|
|
|
|
int_or_none,
|
|
|
|
int_or_none,
|
|
|
|
parse_age_limit,
|
|
|
|
parse_age_limit,
|
|
|
|
parse_duration,
|
|
|
|
parse_duration,
|
|
|
|
|
|
|
|
traverse_obj,
|
|
|
|
try_get,
|
|
|
|
try_get,
|
|
|
|
unified_timestamp,
|
|
|
|
unified_timestamp,
|
|
|
|
|
|
|
|
url_or_none,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -34,7 +36,8 @@ class FOXIE(InfoExtractor):
|
|
|
|
'creator': 'FOX',
|
|
|
|
'creator': 'FOX',
|
|
|
|
'series': 'Gotham',
|
|
|
|
'series': 'Gotham',
|
|
|
|
'age_limit': 14,
|
|
|
|
'age_limit': 14,
|
|
|
|
'episode': 'Aftermath: Bruce Wayne Develops Into The Dark Knight'
|
|
|
|
'episode': 'Aftermath: Bruce Wayne Develops Into The Dark Knight',
|
|
|
|
|
|
|
|
'thumbnail': r're:^https?://.*\.jpg$',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'params': {
|
|
|
|
'params': {
|
|
|
|
'skip_download': True,
|
|
|
|
'skip_download': True,
|
|
|
@ -165,6 +168,7 @@ class FOXIE(InfoExtractor):
|
|
|
|
'season_number': int_or_none(video.get('seasonNumber')),
|
|
|
|
'season_number': int_or_none(video.get('seasonNumber')),
|
|
|
|
'episode': video.get('name'),
|
|
|
|
'episode': video.get('name'),
|
|
|
|
'episode_number': int_or_none(video.get('episodeNumber')),
|
|
|
|
'episode_number': int_or_none(video.get('episodeNumber')),
|
|
|
|
|
|
|
|
'thumbnail': traverse_obj(video, ('images', 'still', 'raw'), expected_type=url_or_none),
|
|
|
|
'release_year': int_or_none(video.get('releaseYear')),
|
|
|
|
'release_year': int_or_none(video.get('releaseYear')),
|
|
|
|
'subtitles': subtitles,
|
|
|
|
'subtitles': subtitles,
|
|
|
|
}
|
|
|
|
}
|
|
|
|