Ben 11 달 전
부모
커밋
d3756ec2f0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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", ""),