mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-02 16:37:59 +09:00
[roosterteeth] Allow bonus_feature_image as thumbnails
Certain bonus episodes do not have their thumbnail taged with "episode_image", but as "bonus_feature_image".
This commit is contained in:
parent
3c6ba354c2
commit
3dd445217b
@ -109,7 +109,7 @@ class RoosterTeethIE(InfoExtractor):
|
||||
|
||||
thumbnails = []
|
||||
for image in episode.get('included', {}).get('images', []):
|
||||
if image.get('type') == 'episode_image':
|
||||
if image.get('type') in {'episode_image', 'bonus_feature_image'}:
|
||||
img_attributes = image.get('attributes') or {}
|
||||
for k in ('thumb', 'small', 'medium', 'large'):
|
||||
img_url = img_attributes.get(k)
|
||||
|
Loading…
Reference in New Issue
Block a user