GithubHelp home page GithubHelp logo

helson-lin / douyin_no_watermark Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 10.0 170 KB

抖音无水印下载,支持捷径;vercel部署

Home Page: https://tk.oimi.space

JavaScript 90.20% Dockerfile 0.20% HTML 9.59%

douyin_no_watermark's Introduction

douyin_no_watermark是一个抖音视频无水印下载程序

支持Docker、Vercel、私有化服务部署,支持IOS捷径快捷下载

docker image size docker pulls release downloads docker image size docker image size

Firt you should know

if the application have this error information: FetchError: invalid json response body at https://www.douyin.com/aweme/v1/web/aweme/detail/?device_platform=webapp&aid=6383&channel=channel_pc_web&aweme_id=7366865544722550035&pc_client_type=1&version_code=190500&versio

please replace the bin/index.js 16 line's cookie varible with yours.

you can get the cookie varible from douyin website, developer tool's application tab - cookie - sid_guard

Update Log

2024/1/4: ✨ 更新通过用户主页分享链接,批量下载作品

2024/1/5: ✨ 优化批量下载用户主页作品,支持图片作品下载。

效果展示

预览

部署

Vercel部署

由于Vercel的边缘函数默认的超时时间为6s,批量下载主页作品会多次请求作者的作品耗时比较长,会出现超时的问题(无法解决,只有购买vercel的付费版本)。

Deploy with Vercel

服务器手动部署

  1. 从Release下载对应平台的可执行文件,到服务器。
  2. 授权:chmod +x excutablefilename ${excutablefilename}为对应的文件名称
  3. ./oimi-tk-linux-x86根据实际情况执行。

如果服务器和linux基础知识都不明白,不建议手动。

自定义端口:

创建一个.env文件在程序同级别目录, 添加如下内容

PORT = 11233

或者通过命令行参数指定端口:./oimi-tk-linux-x86 --port=2301, 命令行权重最高。

Docker部署

  1. 拉取镜像: docker push h55205l/douyin_no_watermark:latest,目前没有构建arm版本
  2. 运行服务:docker run -p 3311:3000 -d h55205l/douyin_no_watermark:latest

内置默认端口为3000, 映射端口自行修改

API

code: 0: error happened, 1: sucess request /workflow: is for ios workflow

URL METHOD PARAMS RESPONSE
/douyin POST { url: ""} { code: 0, data: {video: '', img: '', msg: ''}}
/workflow POST { url: ""} { code: 0, data: ['downloadUrl'] }

捷径下载: [iCloud](https://www.icloud.com/shortcuts/163f1f35153c4c37a41b4f12c32288d1)

捷径内服务器,仅供测试使用。如果有大量使用需求,请自行部署。

推荐使用个人服务器部署,vercel部署批量下载或出现超时(单个作品下载不会),请谨记(付费版本除外)。

PS

本项目思路参考: Doouyin_TikTOk_Download_API, X-Bogus.js源自该项目

douyin_no_watermark's People

Contributors

helson-lin avatar

Stargazers

Ming Wang avatar 不久 avatar Aimer avatar  avatar  avatar 无语 avatar  avatar jk9527 avatar  avatar  avatar  avatar

Watchers

 avatar

douyin_no_watermark's Issues

docker镜像拉取失败

请问一下, 镜像拉取失败是啥问题, 是不是我网络不行, 自己构建镜像可用, 我想问一下, docker run 之后, 会返回一个 server 3000, 这种情况是对的吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.