Chrunos commited on
Commit
654b3e7
·
verified ·
1 Parent(s): 821679d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -256,11 +256,11 @@ async def get_track_download_url(video_url: str) -> str:
256
  async def process_url(title: str) -> str:
257
  try:
258
  # Step 1: Download the URL
259
- api_url = f"https://www.saveporn.net/{title}/"
260
  session = cloudscraper.create_scraper()
261
 
262
  # Use the correct API endpoint
263
- response = session.get(api_url)
264
  logger.info(response)
265
 
266
  # Check if the request was successful
 
256
  async def process_url(title: str) -> str:
257
  try:
258
  # Step 1: Download the URL
259
+ api_url = f"https://www.saveporn.net/download/{title}/"
260
  session = cloudscraper.create_scraper()
261
 
262
  # Use the correct API endpoint
263
+ response = await session.get(api_url)
264
  logger.info(response)
265
 
266
  # Check if the request was successful