Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
# Function to fetch video data based on the search query
|
| 5 |
-
def fetch_video_data(query, per_page=
|
| 6 |
url = f"https://www.eporner.com/api/v2/video/search/?query={query}&per_page={per_page}&format=json"
|
| 7 |
response = requests.get(url)
|
| 8 |
if response.status_code == 200:
|
|
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
# Function to fetch video data based on the search query
|
| 5 |
+
def fetch_video_data(query, per_page=200):
|
| 6 |
url = f"https://www.eporner.com/api/v2/video/search/?query={query}&per_page={per_page}&format=json"
|
| 7 |
response = requests.get(url)
|
| 8 |
if response.status_code == 200:
|