diff options
author | Jesus E <heckyel@riseup.net> | 2023-06-17 16:05:40 -0400 |
---|---|---|
committer | Jesus E <heckyel@riseup.net> | 2023-06-17 16:05:40 -0400 |
commit | f322035d4ac6aa17386ac9dd05f9c7a8d6720e99 (patch) | |
tree | 865c9ad567525b1d0d5d912a7e2e92b33ee90378 /youtube/yt_data_extract/everything_else.py | |
parent | 74907a81835435f881424b41729cc71cb9d50056 (diff) | |
download | yt-local-f322035d4ac6aa17386ac9dd05f9c7a8d6720e99.tar.lz yt-local-f322035d4ac6aa17386ac9dd05f9c7a8d6720e99.tar.xz yt-local-f322035d4ac6aa17386ac9dd05f9c7a8d6720e99.zip |
Add functional but preliminary channel tab support
Add channel tabs to the channel template and script
Update continuation token to request different tabs
Add support for 'reelItemRenderer' format required to extract shorts
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 9a6e31a..745d08f 100644 --- a/youtube/yt_data_extract/everything_else.py +++ b/youtube/yt_data_extract/everything_else.py @@ -73,7 +73,7 @@ def extract_channel_info(polymer_json, tab, continuation=False): #if 'contents' not in response and 'continuationContents' not in response: # return info - if tab in ('videos', 'playlists', 'search'): + if tab in ('videos', 'shorts', 'streams', 'playlists', 'search'): items, ctoken = extract_items(response) additional_info = { 'author': info['channel_name'], |