mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 19:52:11 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue