Update app.py
Browse files
app.py
CHANGED
@@ -288,6 +288,7 @@ async def extract_video_info(video_url: str) -> str:
|
|
288 |
logger.info(response)
|
289 |
if response.status_code == 200:
|
290 |
json_response = response.json()
|
|
|
291 |
result = []
|
292 |
# 检查 formats 列表是否存在且不为空
|
293 |
if 'formats' in json_response:
|
|
|
288 |
logger.info(response)
|
289 |
if response.status_code == 200:
|
290 |
json_response = response.json()
|
291 |
+
logger.info(json_response)
|
292 |
result = []
|
293 |
# 检查 formats 列表是否存在且不为空
|
294 |
if 'formats' in json_response:
|