aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/playlist.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-12-18 19:43:55 -0800
committerJames Taylor <user234683@users.noreply.github.com>2019-12-18 19:43:55 -0800
commitf6bf5213a579b16e17e8d72b51b090ffe4bc9bdb (patch)
tree094ad04de7009decc515f9b60a0050082c05edd1 /youtube/playlist.py
parent98777ee82561ae205f156a7f8497728aecfa080c (diff)
downloadyt-local-f6bf5213a579b16e17e8d72b51b090ffe4bc9bdb.tar.lz
yt-local-f6bf5213a579b16e17e8d72b51b090ffe4bc9bdb.tar.xz
yt-local-f6bf5213a579b16e17e8d72b51b090ffe4bc9bdb.zip
Extraction: rename multi_get functions to more descriptive names
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