Ben před 11 měsíci
rodič
revize
3b615a20e6
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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", ""),