Fix 'author' in metadata
This commit is contained in:
parent
9fa018aaa4
commit
24ebeb66bd
|
@ -260,7 +260,7 @@ def video_metadata(tmp_file_path, original_file_name, original_file_extension):
|
|||
row = c.fetchone()
|
||||
if row is not None:
|
||||
title = row[13]
|
||||
author = row[10].split('/Youtube/')[1].replace('_', ' ')
|
||||
author = row[10].split('/Youtube/')[1].split('/')[0].replace('_', ' ')
|
||||
description = row[22]
|
||||
publisher = 'YouTube'
|
||||
# example of time_uploaded: 1696464000
|
||||
|
|
Loading…
Reference in New Issue