Ben 11 달 전
부모
커밋
e92fdb558e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app.py

+ 2 - 1
app.py

@@ -60,7 +60,8 @@ def convert_dto(info):
                 "acodec") != "none" and item.get("vcodec"):
             format_id = item.get("format_id")
             if format_id:
-                url = f"http://d3kjurodgb07ha.cloudfront.net/p?videoId={info['display_id']}&formatId={format_id}",
+                # url = f"http://d3kjurodgb07ha.cloudfront.net/p?videoId={info['display_id']}&formatId={format_id}",
+		url = item.get("url")
                 formats.append({
                     "width": f"{item.get('width', 0)}",
                     "height": f"{item.get('height', 0)}",