Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -155,8 +155,8 @@ class YouTubeBase(BaseModel):
|
|
155 |
link: str
|
156 |
|
157 |
@app.post("/akeno/youtube-video")
|
158 |
-
async def youtube_video(
|
159 |
-
status, url = YoutubeDriver.check_url(
|
160 |
if not status:
|
161 |
return SuccessResponse(
|
162 |
status="False",
|
|
|
155 |
link: str
|
156 |
|
157 |
@app.post("/akeno/youtube-video")
|
158 |
+
async def youtube_video(link: str):
|
159 |
+
status, url = YoutubeDriver.check_url(link)
|
160 |
if not status:
|
161 |
return SuccessResponse(
|
162 |
status="False",
|