Fix vids added to playlist from watch page not having author url

Signed-off-by: Jesús <heckyel@hyperbola.info>
This commit is contained in:
James Taylor 2021-05-15 15:17:01 -07:00 committed by Jesús
parent f0cd170767
commit b01a16d45b
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -392,10 +392,11 @@ def get_watch_page(video_id=None):
return flask.render_template('error.html', error_message=info['error'])
video_info = {
"duration": util.seconds_to_timestamp(info["duration"] or 0),
"id": info['id'],
"title": info['title'],
"author": info['author'],
'duration': util.seconds_to_timestamp(info['duration'] or 0),
'id': info['id'],
'title': info['title'],
'author': info['author'],
'author_id': info['author_id'],
}
# prefix urls, and other post-processing not handled by yt_data_extract