Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ def get_album(token: str):
|
|
| 75 |
video_list = []
|
| 76 |
for photo in metadata:
|
| 77 |
for derivative in photo.get("derivatives", {}).values():
|
| 78 |
-
|
| 79 |
|
| 80 |
checksum = derivative.get("checksum")
|
| 81 |
if checksum in urls:
|
|
|
|
| 75 |
video_list = []
|
| 76 |
for photo in metadata:
|
| 77 |
for derivative in photo.get("derivatives", {}).values():
|
| 78 |
+
if derivative.get("mediaAssetType") == "video" or derivative.get("type", "").startswith("video"):
|
| 79 |
|
| 80 |
checksum = derivative.get("checksum")
|
| 81 |
if checksum in urls:
|