From 85572c94de77f4a51d5b64e44c6b50cbe200c946 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 23 Aug 2019 14:48:00 -0700 Subject: Layout: refactor item system to be more maintainable, add vertical item type --- youtube/yt_data_extract.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'youtube/yt_data_extract.py') diff --git a/youtube/yt_data_extract.py b/youtube/yt_data_extract.py index c236c2f..db28e62 100644 --- a/youtube/yt_data_extract.py +++ b/youtube/yt_data_extract.py @@ -197,10 +197,6 @@ def renderer_info(renderer, additional_info={}): info.update(additional_info) - if type.startswith('compact') or (type.startswith('playlist') and type != 'playlistRenderer'): - info['item_size'] = 'small' - else: - info['item_size'] = 'medium' if type in ('compactVideoRenderer', 'videoRenderer', 'playlistVideoRenderer', 'gridVideoRenderer'): info['type'] = 'video' -- cgit v1.2.3