diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-07-06 19:26:07 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-07-06 19:26:07 -0700 |
commit | c0617670f78bf61ccf3aa0c5904091146b630104 (patch) | |
tree | b9265be4d21208c474e6b7a6290acb0b21d58323 /youtube | |
parent | 64434b02ca50c2a6324caa1355559bd881ba687e (diff) | |
download | yt-local-c0617670f78bf61ccf3aa0c5904091146b630104.tar.lz yt-local-c0617670f78bf61ccf3aa0c5904091146b630104.tar.xz yt-local-c0617670f78bf61ccf3aa0c5904091146b630104.zip |
Fix medium playlist items displaying incorrectly
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/yt_data_extract.py | 2 |
1 files changed, 1 insertions, 1 deletions
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' |