nothere990 commited on
Commit
971927c
·
1 Parent(s): b0582f6
Files changed (1) hide show
  1. main.py +12 -9
main.py CHANGED
@@ -852,7 +852,6 @@ async def xnxx_search(
852
  results_list = []
853
  for x in response:
854
  results_list.append({
855
- "link": x.content_url,
856
  "title": x.title,
857
  "url": x.url,
858
  "author": x.author,
@@ -860,6 +859,7 @@ async def xnxx_search(
860
  "highest_quality": x.highest_quality,
861
  "publish_date": x.publish_date,
862
  "views": x.views,
 
863
  "thumb": x.thumbnail_url
864
  })
865
  return SuccessResponse(
@@ -883,16 +883,19 @@ async def xnxx_download(link: str):
883
  return SuccessResponse(
884
  status="True",
885
  randydev={
886
- "title": response.title,
887
- "author": response.author,
888
- "length": response.highest_quality,
889
- "highest_quality": response.highest_quality,
890
- "publish_date": response.publish_date,
891
- "views": response.views,
892
- "link": response.content_url,
893
- "thumb": response.thumbnail_url
 
 
894
  }
895
  )
 
896
  except Exception as e:
897
  return SuccessResponse(
898
  status="False",
 
852
  results_list = []
853
  for x in response:
854
  results_list.append({
 
855
  "title": x.title,
856
  "url": x.url,
857
  "author": x.author,
 
859
  "highest_quality": x.highest_quality,
860
  "publish_date": x.publish_date,
861
  "views": x.views,
862
+ "link": x.content_url,
863
  "thumb": x.thumbnail_url
864
  })
865
  return SuccessResponse(
 
883
  return SuccessResponse(
884
  status="True",
885
  randydev={
886
+ "results": {
887
+ "title": response.title,
888
+ "author": response.author,
889
+ "length": response.highest_quality,
890
+ "highest_quality": response.highest_quality,
891
+ "publish_date": response.publish_date,
892
+ "views": response.views,
893
+ "link": response.content_url,
894
+ "thumb": response.thumbnail_url
895
+ }
896
  }
897
  )
898
+
899
  except Exception as e:
900
  return SuccessResponse(
901
  status="False",