diff options
author | James Taylor <user234683@users.noreply.github.com> | 2021-03-05 23:27:31 -0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-03-15 22:22:15 -0500 |
commit | e549b5f67c4beff421a2b2b36f3b5031bfe8ed88 (patch) | |
tree | a4377a1e3817b6d466730d2a5059ffb3dc0688d5 /youtube/yt_data_extract/everything_else.py | |
parent | b2c1066734b59f69666a3cfc0f82ed9718685d4b (diff) | |
download | yt-local-e549b5f67c4beff421a2b2b36f3b5031bfe8ed88.tar.lz yt-local-e549b5f67c4beff421a2b2b36f3b5031bfe8ed88.tar.xz yt-local-e549b5f67c4beff421a2b2b36f3b5031bfe8ed88.zip |
Channel: Allow going to next pages of playlists page
Uses previous and next buttons. Now can view more than just
first page of playlists page
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/yt_data_extract/everything_else.py')
-rw-r--r-- | youtube/yt_data_extract/everything_else.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/yt_data_extract/everything_else.py b/youtube/yt_data_extract/everything_else.py index 197cf88..f9c47cb 100644 --- a/youtube/yt_data_extract/everything_else.py +++ b/youtube/yt_data_extract/everything_else.py @@ -77,7 +77,7 @@ def extract_channel_info(polymer_json, tab): additional_info = {'author': info['channel_name'], 'author_url': info['channel_url']} info['items'] = [extract_item_info(renderer, additional_info) for renderer in items] info['ctoken'] = ctoken - if tab == 'search': + if tab in ('search', 'playlists'): info['is_last_page'] = (ctoken is None) elif tab == 'about': items, _ = extract_items(response, item_types={'channelAboutFullMetadataRenderer'}) |