From a39f44b2d8cb0396ebbb6fe278d280d511c0d1b3 Mon Sep 17 00:00:00 2001 From: Evil0ctal Date: Mon, 17 Oct 2022 20:54:24 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=20Add=20API=20V2=20in=20root=20pat?= =?UTF-8?q?h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web_api.py b/web_api.py index 7507637..3a5097d 100644 --- a/web_api.py +++ b/web_api.py @@ -2,7 +2,7 @@ # -*- encoding: utf-8 -*- # @Author: https://github.com/Evil0ctal/ # @Time: 2021/11/06 -# @Update: 2022/08/29 +# @Update: 2022/10/17 # @Function: # 创建一个接受提交参数的Flask应用程序。 # 将scraper.py返回的内容以JSON格式返回。 @@ -51,6 +51,8 @@ def index(): 'Introduction': 'Free and open source Douyin/TikTok watermark-free video download tool, supports API calls.', 'Web interface': 'https://douyin.wtf/', 'iOS Shortcuts': 'https://api.douyin.wtf/ios', + 'API V1': 'https://api.douyin.wtf/', + 'API V2': 'https://api-v2.douyin.wtf/docs', 'Parsing Douyin/TikTok videos': 'https://api.douyin.wtf/api?url=[Douyin/TikTok url]', 'Return Video MP4 File Download': 'https://api.douyin.wtf/video?url=[Douyin/TikTok url]', 'Return Video MP3 File Download': 'https://api.douyin.wtf/music?url=[Douyin/TikTok url]'}