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:
parent
f0cd170767
commit
b01a16d45b
@ -392,10 +392,11 @@ def get_watch_page(video_id=None):
|
|||||||
return flask.render_template('error.html', error_message=info['error'])
|
return flask.render_template('error.html', error_message=info['error'])
|
||||||
|
|
||||||
video_info = {
|
video_info = {
|
||||||
"duration": util.seconds_to_timestamp(info["duration"] or 0),
|
'duration': util.seconds_to_timestamp(info['duration'] or 0),
|
||||||
"id": info['id'],
|
'id': info['id'],
|
||||||
"title": info['title'],
|
'title': info['title'],
|
||||||
"author": info['author'],
|
'author': info['author'],
|
||||||
|
'author_id': info['author_id'],
|
||||||
}
|
}
|
||||||
|
|
||||||
# prefix urls, and other post-processing not handled by yt_data_extract
|
# prefix urls, and other post-processing not handled by yt_data_extract
|
||||||
|
Loading…
x
Reference in New Issue
Block a user