diff options
author | zrose584 <57181548+zrose584@users.noreply.github.com> | 2022-01-09 16:13:00 +0100 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-01-09 16:39:50 -0500 |
commit | 63c92e0c4ef4652e67fb7a3eca427f26f782e2e2 (patch) | |
tree | 135b016088dd387428c6439660b0a1e96f28b5dd /youtube/yt_data_extract | |
parent | 693b4ac98b74d2eaf8157f66d50921fdc9902353 (diff) | |
download | yt-local-63c92e0c4ef4652e67fb7a3eca427f26f782e2e2.tar.lz yt-local-63c92e0c4ef4652e67fb7a3eca427f26f782e2e2.tar.xz yt-local-63c92e0c4ef4652e67fb7a3eca427f26f782e2e2.zip |
add preview thumbnails
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/yt_data_extract')
-rw-r--r-- | youtube/yt_data_extract/watch_extraction.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube/yt_data_extract/watch_extraction.py b/youtube/yt_data_extract/watch_extraction.py index e7e0d74..309c85c 100644 --- a/youtube/yt_data_extract/watch_extraction.py +++ b/youtube/yt_data_extract/watch_extraction.py @@ -650,6 +650,8 @@ def extract_watch_info(polymer_json): # other stuff info['author_url'] = 'https://www.youtube.com/channel/' + info['author_id'] if info['author_id'] else None + info['storyboard_spec_url'] = player_response['storyboards']['playerStoryboardSpecRenderer']['spec'] + return info single_char_codes = { |