Spaces:
Running
Running
nothere990
commited on
Commit
•
64a6e9b
1
Parent(s):
6ebf45d
update main.py
Browse files
main.py
CHANGED
@@ -623,7 +623,7 @@ async def pinterestv2(query: str):
|
|
623 |
)
|
624 |
|
625 |
@app.get("/akeno/pornpics", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
626 |
-
async def pornpics(query: str
|
627 |
try:
|
628 |
response = await search_porn_images(query)
|
629 |
return SuccessResponse(
|
@@ -637,7 +637,7 @@ async def pornpics(query: str, api_key: str = Depends(validate_api_key_porno)):
|
|
637 |
)
|
638 |
|
639 |
@app.get("/akeno/pornowhite", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
640 |
-
async def pornowhite_(query: str
|
641 |
try:
|
642 |
response = search_pornwhite_videos(query)
|
643 |
return SuccessResponse(
|
@@ -665,7 +665,7 @@ async def happymods_(q: str):
|
|
665 |
)
|
666 |
|
667 |
@app.get("/akeno/hentai", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
668 |
-
async def hentai_(
|
669 |
try:
|
670 |
response = await HentaiAnime()
|
671 |
return SuccessResponse(
|
@@ -775,7 +775,7 @@ async def tiktokdl_(link: str):
|
|
775 |
)
|
776 |
|
777 |
@app.get("/akeno/xnxxsearch", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
778 |
-
async def xnxx_search(query: str, quality: str
|
779 |
data_dict = {
|
780 |
"720p": search_filters.SearchingQuality.X_720p,
|
781 |
"1080p": search_filters.SearchingQuality.X_1080p_plus
|
@@ -821,7 +821,7 @@ async def xnxx_search(query: str, quality: str, api_key: str = Depends(validate_
|
|
821 |
|
822 |
|
823 |
@app.get("/akeno/xnxx-dl", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
824 |
-
async def xnxx_download(link: str
|
825 |
try:
|
826 |
x = xnxx_client()
|
827 |
response = x.get_video(link)
|
|
|
623 |
)
|
624 |
|
625 |
@app.get("/akeno/pornpics", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
626 |
+
async def pornpics(query: str:
|
627 |
try:
|
628 |
response = await search_porn_images(query)
|
629 |
return SuccessResponse(
|
|
|
637 |
)
|
638 |
|
639 |
@app.get("/akeno/pornowhite", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
640 |
+
async def pornowhite_(query: str:
|
641 |
try:
|
642 |
response = search_pornwhite_videos(query)
|
643 |
return SuccessResponse(
|
|
|
665 |
)
|
666 |
|
667 |
@app.get("/akeno/hentai", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
668 |
+
async def hentai_():
|
669 |
try:
|
670 |
response = await HentaiAnime()
|
671 |
return SuccessResponse(
|
|
|
775 |
)
|
776 |
|
777 |
@app.get("/akeno/xnxxsearch", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
778 |
+
async def xnxx_search(query: str, quality: str):
|
779 |
data_dict = {
|
780 |
"720p": search_filters.SearchingQuality.X_720p,
|
781 |
"1080p": search_filters.SearchingQuality.X_1080p_plus
|
|
|
821 |
|
822 |
|
823 |
@app.get("/akeno/xnxx-dl", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
|
824 |
+
async def xnxx_download(link: str):
|
825 |
try:
|
826 |
x = xnxx_client()
|
827 |
response = x.get_video(link)
|