diff --git a/config.ini b/config.ini index e6985f5..041e34e 100644 --- a/config.ini +++ b/config.ini @@ -94,10 +94,10 @@ Web_Title = TikTok/抖音无水印在线解析下载 Web_Title_English = Douyin/TikTok online parsing and download without watermark # 网页描述 -Web_Description = 在线批量无水印解析抖音/TikTok视频及图文无水印下载,抖音无水印快捷指令,TikTok无水印快捷指令,抖音无水印API,TikTok no watermark API,抓取官方数据接口,稳定,开源,免费,无广告。 +Web_Description = 在线批量解析TikTok/抖音视频和图片,支持无水印下载,官方数据接口,稳定,开源,免费,无广告。 # Web Description English -Web_Description_English = Online batch watermark-free parsing of Douyin/TikTok videos and text-free download, Douyin no watermark shortcut, TikTok no watermark shortcut, Douyin no watermark API, TikTok no watermark API, grab official data interface, stable, open source, free, no ads. +Web_Description_English = Online batch parsing of TikTok/Douyin videos and pictures, support for no watermark download, official data interface, stable, open source, free, no ads. # 网页关键词/Keywords of the web page -Keywords = douyin.wtf,evil0ctal,抖音,无水印,抖音无水印,抖音去水印,抖音无水印下载,下载,在线解析,抖音去水印在线,最新抖音无水印,tiktok,douyin,tiktok photo,picture,tiktok no watermark,no watermark,without watermark,watermark,downloader,online,free,tool +Keywords = 抖音,tiktok,水印,无水印,no-watermark,抖音去水印,tiktok no watermark,在线,online,api,快捷指令,shortcut,下载,解析,parsing,tiktok api,抖音api,抖音去水印在线,tiktok去水印在线,downloader,下载器,free api,免费api diff --git a/web_app.py b/web_app.py index ac5e63d..bc8aace 100644 --- a/web_app.py +++ b/web_app.py @@ -2,7 +2,7 @@ # -*- encoding: utf-8 -*- # @Author: https://github.com/Evil0ctal/ # @Time: 2021/11/06 -# @Update: 2022/12/16 +# @Update: 2022/12/21 # @Function: # 用于在线批量解析Douyin/TikTok的无水印视频/图集。 # 基于 PyWebIO,将scraper.py返回的内容显示在网页上。 @@ -19,7 +19,6 @@ from pywebio.input import * from pywebio.output import * from pywebio.session import info as session_info, run_asyncio_coroutine - config = configparser.ConfigParser() config.read('config.ini', encoding='utf-8') @@ -73,8 +72,8 @@ def error_do(reason: str, value: str) -> None: 'Entered the wrong link (the home page link is not supported for parsing with API-V1)')) put_markdown( t('如果需要解析个人主页,请使用API-V2', 'If you need to parse the personal homepage, please use API-V2')) - put_markdown(t('API-V2 文档: [https://api-v2.douyin.wtf/docs](https://api-v2.douyin.wtf/docs)', - 'API-V2 Documentation: [https://api-v2.douyin.wtf/docs](https://api-v2.douyin.wtf/docs)')) + put_markdown(t('API-V2 文档: [https://api.tikhub.io/docs](https://api.tikhub.io/docs)', + 'API-V2 Documentation: [https://api.tikhub.io/docs](https://api.tikhub.io/docs)')) put_markdown(t('该视频已经被删除或屏蔽(你看的都是些啥(⊙_⊙)?)', 'The video has been deleted or blocked (what are you watching (⊙_⊙)?)')) put_markdown(t('其他原因(请联系作者)', 'Other reasons (please contact the author)')) @@ -92,7 +91,8 @@ def error_do(reason: str, value: str) -> None: with open('logs.txt', 'a') as f: f.write(error_date + ":\n" + str(reason) + '\n' + "Input value: " + value + '\n') else: - print(t('输入值中没有douyin或tiktok,不记录到日志文件中', 'No douyin or tiktok in the input value, not recorded to the log file')) + print(t('输入值中没有douyin或tiktok,不记录到日志文件中', + 'No douyin or tiktok in the input value, not recorded to the log file')) # iOS快捷指令弹窗/IOS shortcut pop-up @@ -137,7 +137,7 @@ def api_document_pop_window(): put_markdown(t("💾API-V2文档", "💾API-V2 Document")) put_markdown(t('API-V2 支持抖音和TikTok的更多接口, 如主页解析,视频解析,视频评论解析,个人点赞列表解析等...', 'API-V2 supports more interfaces of Douyin and TikTok, such as home page parsing, video parsing, video comment parsing, personal like list parsing, etc...')) - put_link('[API-V2 Docs]', 'https://api-v2.douyin.wtf/docs', new_window=True) + put_link('[API-V2 Docs]', 'https://api.tikhub.io/docs', new_window=True) put_html('