Skip to content

Commit

Permalink
fixed author fullname in twitter if comma
Browse files Browse the repository at this point in the history
  • Loading branch information
iaine committed Mar 5, 2024
1 parent da0c603 commit e5870bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datamodel.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function parseTwitter (header, data) {
"link": "https://twitter.com/"+row["data"]['core']['user_results']['result']['legacy']['screen_name']+"/status/"+row['id'],
"body": `"${escapeHTML(row["data"]["legacy"]["full_text"])}"`,
"author": row["data"]["core"]["user_results"]["result"]["legacy"]["screen_name"],
"author_fullname": row["data"]["core"]["user_results"]["result"]["legacy"]["name"],
"author_fullname": `"${row["data"]["core"]["user_results"]["result"]["legacy"]["name"]}"`,
"author_id": row["data"]["legacy"]["user_id_str"],
"source": row["source"],
"language_guess": row["data"]["legacy"]["lang"],
Expand Down

0 comments on commit e5870bc

Please sign in to comment.