Change the data structure
This commit is contained in:
parent
1602d03e9d
commit
1d79556c42
@ -237,7 +237,7 @@ def process_article(title, article_url):
|
||||
|
||||
author_data = {
|
||||
"author_id": str(uuid.uuid4()),
|
||||
"from_article": article_id,
|
||||
"from_article": [article_id],
|
||||
"first_name": name[0],
|
||||
"last_name": name[-1],
|
||||
"middle_name": ''.join(name[1:-1]) if name[1:-1] else None,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user