aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/yt_data_extract.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-08-23 14:48:00 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-08-23 14:48:00 -0700
commit85572c94de77f4a51d5b64e44c6b50cbe200c946 (patch)
tree7dd9605ba1f24a32b32dbb3aadab378addc1a21a /youtube/yt_data_extract.py
parent70d2cff81760a5bfd2d8f54349cd96d50df5f320 (diff)
downloadyt-local-85572c94de77f4a51d5b64e44c6b50cbe200c946.tar.lz
yt-local-85572c94de77f4a51d5b64e44c6b50cbe200c946.tar.xz
yt-local-85572c94de77f4a51d5b64e44c6b50cbe200c946.zip
Layout: refactor item system to be more maintainable, add vertical item type
Diffstat (limited to 'youtube/yt_data_extract.py')
-rw-r--r--youtube/yt_data_extract.py4
1 files changed, 0 insertions, 4 deletions
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'