aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/yt_data_extract.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-07-06 19:26:07 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-07-06 19:26:07 -0700
commitc0617670f78bf61ccf3aa0c5904091146b630104 (patch)
treeb9265be4d21208c474e6b7a6290acb0b21d58323 /youtube/yt_data_extract.py
parent64434b02ca50c2a6324caa1355559bd881ba687e (diff)
downloadyt-local-c0617670f78bf61ccf3aa0c5904091146b630104.tar.lz
yt-local-c0617670f78bf61ccf3aa0c5904091146b630104.tar.xz
yt-local-c0617670f78bf61ccf3aa0c5904091146b630104.zip
Fix medium playlist items displaying incorrectly
Diffstat (limited to 'youtube/yt_data_extract.py')
-rw-r--r--youtube/yt_data_extract.py2
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'