From d49291c4236f6a024c2cb65d6973a645835c7c1b Mon Sep 17 00:00:00 2001 From: Evil0ctal Date: Mon, 19 Aug 2024 23:16:53 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8:=20Update=20Version=20Code=20V4.0.?= =?UTF-8?q?6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/endpoints/tiktok_app.py | 9 +++++++-- config.yaml | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/api/endpoints/tiktok_app.py b/app/api/endpoints/tiktok_app.py index 5aa7902..921c7af 100644 --- a/app/api/endpoints/tiktok_app.py +++ b/app/api/endpoints/tiktok_app.py @@ -8,7 +8,11 @@ TikTokAPPCrawler = TikTokAPPCrawler() # 获取单个作品数据 -@router.get("/fetch_one_video", response_model=ResponseModel, summary="获取单个作品数据/Get single video data") +@router.get("/fetch_one_video", + response_model=ResponseModel, + summary="获取单个作品数据/Get single video data", + deprecated=True + ) async def fetch_one_video(request: Request, aweme_id: str = Query(example="7350810998023949599", description="作品id/Video id")): """ @@ -42,4 +46,5 @@ async def fetch_one_video(request: Request, router=request.url.path, params=dict(request.query_params), ) - raise HTTPException(status_code=status_code, detail=detail.dict()) \ No newline at end of file + raise HTTPException(status_code=status_code, detail=detail.dict()) + \ No newline at end of file diff --git a/config.yaml b/config.yaml index c229e38..f4d9d98 100644 --- a/config.yaml +++ b/config.yaml @@ -30,8 +30,8 @@ API: Redoc_URL: /redoc # API documentation URL | API文档URL # API Information - Version: V4.0.5 # API version | API版本 - Update_Time: 2024/07/07 # API update time | API更新时间 + Version: V4.0.6 # API version | API版本 + Update_Time: 2024/08/19 # API update time | API更新时间 Environment: Demo # API environment | API环境 # Download Configuration