Jelajahi Sumber

add: videoId

Ben 11 bulan lalu
induk
melakukan
b1cb770c7e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app.py

+ 1 - 1
app.py

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