add preview thumbnails

Signed-off-by: Jesús <heckyel@hyperbola.info>
This commit is contained in:
zrose584
2022-01-09 16:13:00 +01:00
committed by Jesús
parent 693b4ac98b
commit 63c92e0c4e
4 changed files with 71 additions and 0 deletions

View File

@@ -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 = {