From 03ccfc49834b215fed2bb73423d24ea584f1503c Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 17 May 2020 13:46:53 +0200 Subject: [PATCH] [roosterteeth] Fixed syntax "if in" for Python 2.6.9 --- youtube_dl/extractor/roosterteeth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/roosterteeth.py b/youtube_dl/extractor/roosterteeth.py index a735006eb..993a5c0e4 100644 --- a/youtube_dl/extractor/roosterteeth.py +++ b/youtube_dl/extractor/roosterteeth.py @@ -122,7 +122,7 @@ class RoosterTeethIE(InfoExtractor): thumbnails = [] for image in episode.get('included', {}).get('images', []): - if image.get('type') in {'episode_image', 'bonus_feature_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)