seawolf2357
commited on
Commit
•
2332fb8
1
Parent(s):
360fad9
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ async def search_videos(keywords):
|
|
101 |
}
|
102 |
params = {
|
103 |
"query": keywords,
|
104 |
-
"per_page":
|
105 |
}
|
106 |
response = requests.get(PEXELS_VIDEO_API_URL, headers=headers, params=params)
|
107 |
if response.status_code == 200:
|
|
|
101 |
}
|
102 |
params = {
|
103 |
"query": keywords,
|
104 |
+
"per_page": 40 # 최대 10개 비디오를 가져옵니다
|
105 |
}
|
106 |
response = requests.get(PEXELS_VIDEO_API_URL, headers=headers, params=params)
|
107 |
if response.status_code == 200:
|