Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -8,7 +8,7 @@ app = FastAPI()
|
|
8 |
async def root():
|
9 |
return {"message": "Hello World"}
|
10 |
@app.get("/dailymo/")
|
11 |
-
async def read_item(reqUrl: str = 'https://www.dailymotion.com/video/
|
12 |
|
13 |
video_url = reqUrl
|
14 |
desired_format = vidFormat
|
|
|
8 |
async def root():
|
9 |
return {"message": "Hello World"}
|
10 |
@app.get("/dailymo/")
|
11 |
+
async def read_item(reqUrl: str = 'https://www.dailymotion.com/video/x8pud1k', vidFormat: str='http-720-0'):
|
12 |
|
13 |
video_url = reqUrl
|
14 |
desired_format = vidFormat
|