diff --git a/Dockerfile b/Dockerfile index bc9bdcc..ce7c004 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,6 @@ COPY requirements.txt /app/requirements.txt RUN pip install --no-cache-dir -r /app/requirements.txt -EXPOSE 6666 +EXPOSE 5556 CMD ["python", "main.py"] diff --git a/README.md b/README.md index 9340ad7..8bbfd2c 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@
docker run --name 容器名称(可选) -p 主机端口号:6666 -v xhs_downloader_volume:/app -it joeanamier/xhs-downloaderdocker run --name 容器名称(可选) -p 主机端口号:6666 -v xhs_downloader_volume:/app -it joeanamier/xhs-downloader python main.py serverdocker run --name 容器名称(可选) -p 主机端口号:5556 -v xhs_downloader_volume:/app -it joeanamier/xhs-downloaderdocker run --name 容器名称(可选) -p 主机端口号:5556 -v xhs_downloader_volume:/app -it joeanamier/xhs-downloader python main.py server启动:运行命令:python .\main.py server
关闭:按下 Ctrl + C 关闭服务器
访问 http://127.0.0.1:6666/docs 或者 http://127.0.0.1:6666/redoc;你会看到自动生成的交互式 API 文档!
访问 http://127.0.0.1:5556/docs 或者 http://127.0.0.1:5556/redoc;你会看到自动生成的交互式 API 文档!
请求接口:/xhs/
请求方法:POST
请求格式:JSON
async def example_api():
"""通过 API 设置参数,适合二次开发"""
- server = "http://127.0.0.1:6666/xhs/"
+ server = "http://127.0.0.1:5556/xhs/"
data = {
"url": "", # 必需参数
"download": True,
@@ -604,22 +604,6 @@ A: 由于权限限制,您无法直接触发主仓库的 Actions。请通过 Fo
**JetBrains** 支持全球开源社区认可的活跃项目,并为非商业开发提供免费许可证。
-***
-
-## TikHub
-
-
-TikHub 是一家领先的数据接口服务供应商,专注于提供高质量的数据接口,涵盖了多个热门平台,包括 抖音、TikTok、小红书、Instagram、Twitter 和 快手 等平台。
-TikHub 还提供定制化的服务,如直播间监控、作品监控和达人监控,以满足不同业务场景的需求。
-通过每日签到,用户可以免费获取一定额度的使用量;可以使用我的 推荐链接:https://user.tikhub.io/users/signup?referral_code=ZrdH8McC 或 推荐码:ZrdH8McC,注册并充值即可获得 $2 额度!
-TikHub 提供以下服务:
-docker run --name ContainerName(optional) -p HostPort:6666 -v xhs_downloader_volume:/app -it joeanamier/xhs-downloaderdocker run --name ContainerName(optional) -p HostPort:6666 -v xhs_downloader_volume:/app -it joeanamier/xhs-downloader python main.py serverdocker run --name ContainerName(optional) -p HostPort:5556 -v xhs_downloader_volume:/app -it joeanamier/xhs-downloaderdocker run --name ContainerName(optional) -p HostPort:5556 -v xhs_downloader_volume:/app -it joeanamier/xhs-downloader python main.py serverStart: Run the command: python .\main.py server
Stop: Press Ctrl + C to stop the server
Open http://127.0.0.1:6666/docs or http://127.0.0.1:6666/redoc; you will see automatically generated interactive API documentation!
Open http://127.0.0.1:5556/docs or http://127.0.0.1:5556/redoc; you will see automatically generated interactive API documentation!
Request endpoint:
/xhs/
Request method: @@ -182,7 +182,7 @@
async def example_api():
"""通过 API 设置参数,适合二次开发"""
- server = "http://127.0.0.1:6666/xhs/"
+ server = "http://127.0.0.1:5556/xhs/"
data = {
"url": "", # 必需参数
"download": True,
@@ -297,6 +297,7 @@ async def example():
],
)
)
+
The project uses pyperclip to implement clipboard reading functionality, which varies across different systems.
JetBrains support active projects recognized within the global open-source community with complimentary licenses for non-commercial development.
-*** - -## TikHub - -
-TikHub is a leading data interface service provider, specializing in offering high-quality data interfaces for multiple popular platforms, including DouYin, TikTok, Xiaohongshu, Instagram, Twitter, and Kuaishou.
-TikHub also provides customized services such as live streaming room monitoring, post monitoring, and influencer monitoring to meet the needs of different business scenarios.
-Through daily sign-ins, users can obtain a certain quota of usage for free. You can use my referral link:https://user.tikhub.io/users/signup?referral_code=ZrdH8McC or Referral Code:ZrdH8McC,Register and recharge to receive $2 limit!
TikHub Provide the following services:
-