slimshadow commited on
Commit
660ce8d
·
verified ·
1 Parent(s): d08dcad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=20):
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: