aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/playlist.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/playlist.py')
-rw-r--r--youtube/playlist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/playlist.py b/youtube/playlist.py
index ced0644..5dc8ab7 100644
--- a/youtube/playlist.py
+++ b/youtube/playlist.py
@@ -104,7 +104,7 @@ def get_playlist_page():
if 'id' in item:
item['thumbnail'] = '/https://i.ytimg.com/vi/' + item['id'] + '/default.jpg'
- video_count = yt_data_extract.default_multi_get(info, 'metadata', 'video_count')
+ video_count = yt_data_extract.deep_get(info, 'metadata', 'video_count')
if video_count is None:
video_count = 40