Docker 获取 docker image
docker pull tzishue/qushuiyin 运行 docker 容器, 端口 8080
docker run -d -p 8080:8080 tzishue/qushuiyin 查看前端页面 访问: http://127.0.0.1:8080/
请求接口, 查看json返回
curl 'http://127.0.0.1:8080/video/share/url/parse?url=视频分享链接' | jq 返回格式
{ "author": { "uid": "uid", "name": "name", "avatar": "https://xxx" }, "title": "记录美好生活#峡谷天花板", "video_url": "https://xxx", "music_url": "https://yyy", "cover_url": "https://zzz" } 字段名 说明 author.uid 视频作者id author.name 视频作者名称 author.avatar 视频作者头像 title 视频标题 video_url 视频无水印链接 music_url 视频音乐链接 cover_url 视频封面 字段除了视频地址, 其他字段可能为空
Content type
Image
Digest
sha256:19d7ead36…
Size
4.4 MB
Last updated
about 4 years ago
docker pull tzishue/qushuiyin