Ben 11 月之前
父节点
当前提交
3b615a20e6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app.py

+ 2 - 2
app.py

@@ -68,8 +68,8 @@ def convert_dto(info):
                     "itag": 0,
                     "fps": "0",
                     "bitrate": "0",
-                    # "url": f"http://d2rueqse8qhuiu.cloudfront.net/p?videoId={info['display_id']}&formatId={format_id}",
-                    "url": item.get("url"),
+                    "url": f"http://d2rueqse8qhuiu.cloudfront.net/p?videoId={info['display_id']}&formatId={format_id}",
+                    # "url": item.get("url"),
                     "ext": item.get("ext"),
                     "vcodec": item.get("vcodec", ""),
                     "acodec": item.get("acodec", ""),