From c0617670f78bf61ccf3aa0c5904091146b630104 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sat, 6 Jul 2019 19:26:07 -0700 Subject: Fix medium playlist items displaying incorrectly --- youtube/yt_data_extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube') diff --git a/youtube/yt_data_extract.py b/youtube/yt_data_extract.py index dca5964..c236c2f 100644 --- a/youtube/yt_data_extract.py +++ b/youtube/yt_data_extract.py @@ -197,7 +197,7 @@ def renderer_info(renderer, additional_info={}): info.update(additional_info) - if type.startswith('compact') or type.startswith('playlist'): + if type.startswith('compact') or (type.startswith('playlist') and type != 'playlistRenderer'): info['item_size'] = 'small' else: info['item_size'] = 'medium' -- cgit v1.2.3