Ben 11 months ago
parent
commit
d3756ec2f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -58,7 +58,7 @@ def extract():
                     "thumbnails": thumbnails,
                     "description": info.get("description", ""),
                     "lengthSeconds": int(info.get("duration", 0) / 100),
-                    "viewCount": info.get("view_count", 0),
+                    "viewCount": f"{info.get('view_count', 0)}",
                     "keywords": [],
                     "author": info.get("uploader", info.get("channel", "")),
                     "channelID": info.get("channel_id", ""),