Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,9 +67,11 @@ async def linkedin_post_details(post_id: str):
|
|
67 |
return {
|
68 |
"insights": {
|
69 |
"likeCount": None,
|
70 |
-
"commentCount": int(comments.replace(",", "")),
|
|
|
71 |
"shareCount": None,
|
72 |
-
"reactionCount": int(reactions.replace(",", "")),
|
|
|
73 |
"reactions": [],
|
74 |
},
|
75 |
"description": desc,
|
|
|
67 |
return {
|
68 |
"insights": {
|
69 |
"likeCount": None,
|
70 |
+
# "commentCount": int(comments.replace(",", "")),
|
71 |
+
"commentCount": comments,
|
72 |
"shareCount": None,
|
73 |
+
# "reactionCount": int(reactions.replace(",", "")),
|
74 |
+
"reactionCount":reactions,
|
75 |
"reactions": [],
|
76 |
},
|
77 |
"description": desc,
|