diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-08-23 14:48:00 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-08-23 14:48:00 -0700 |
commit | 85572c94de77f4a51d5b64e44c6b50cbe200c946 (patch) | |
tree | 7dd9605ba1f24a32b32dbb3aadab378addc1a21a /youtube/yt_data_extract.py | |
parent | 70d2cff81760a5bfd2d8f54349cd96d50df5f320 (diff) | |
download | yt-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.py | 4 |
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' |