{"id":42006189,"url":"https://github.com/wujunwei928/parse-video","last_synced_at":"2026-01-28T08:47:38.604Z","repository":{"id":45733819,"uuid":"513091823","full_name":"wujunwei928/parse-video","owner":"wujunwei928","description":"Golang短视频去水印：抖音,皮皮虾,火山,微视,最右,快手,全民小视频,皮皮搞笑,西瓜视频,虎牙,梨视频,acfun,好看视频...","archived":false,"fork":false,"pushed_at":"2026-01-12T15:59:46.000Z","size":352,"stargazers_count":818,"open_issues_count":8,"forks_count":225,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-01-12T21:43:28.596Z","etag":null,"topics":["crawler","douyin","kuaishou","spider","video","video-crawler","video-spider","weibo"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wujunwei928.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-12T10:09:10.000Z","updated_at":"2026-01-12T15:59:50.000Z","dependencies_parsed_at":"2024-02-19T02:45:23.621Z","dependency_job_id":"189f8fd6-2201-4256-8faf-c68f6fced355","html_url":"https://github.com/wujunwei928/parse-video","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wujunwei928/parse-video","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wujunwei928%2Fparse-video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wujunwei928%2Fparse-video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wujunwei928%2Fparse-video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wujunwei928%2Fparse-video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wujunwei928","download_url":"https://codeload.github.com/wujunwei928/parse-video/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wujunwei928%2Fparse-video/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28842903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crawler","douyin","kuaishou","spider","video","video-crawler","video-spider","weibo"],"created_at":"2026-01-26T02:00:36.148Z","updated_at":"2026-01-28T08:47:38.598Z","avatar_url":"https://github.com/wujunwei928.png","language":"HTML","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"   * [支持平台](#支持平台)\n   * [安装](#安装)\n   * [Docker](#docker)\n   * [依赖模块](#依赖模块)\n\nGolang短视频去水印, 视频目前支持20个平台, 图集目前支持4个平台, 欢迎各位Star。\n\u003e ps: 使用时, 请尽量使用app分享链接, 电脑网页版未做测试.\n\n# 其他语言版本\n- [Python版本](https://github.com/wujunwei928/parse-video-py)\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n##  🚀 GLM Coding 限时优惠！性能强劲 量大管饱\n\n### 🎁 智谱 GLM Coding 超值订阅，邀你一起\"薅羊毛\"！\n\n**本项目前端多套主体样式和后端逻辑均有用到GLM辅助开发, 绝对性能够用, 又量大管饱.**\n\n[立即开拼，享限时惊喜价, 首购低至4折！](https://www.bigmodel.cn/glm-coding?ic=KUS7WQB5UI)\n\n\u003cimg src=\"resources/BigmodelPoster.png\" alt=\"拼好模活动海报\" width=\"300\"\u003e\n\n---\n\n\u003c/div\u003e\n\n# MCP 支持\n\n本项目现已支持 [MCP (Model Context Protocol)](https://modelcontextprotocol.io/)，提供标准化的工具接口供AI助手调用。\n\n## MCP 功能特性\n\n- **多传输模式**: 支持 stdio 和 SSE 两种传输协议\n- **混合运行**: 可同时运行 HTTP API 和 MCP 服务器\n- **完整工具集**: 提供5个核心视频解析工具\n- **平台资源**: 提供支持的平台信息资源\n\n## MCP 使用文档\n\n- [MCP 使用指南](./MCP_USAGE.md) - 详细的MCP配置和使用说明\n- [MCP SSE 使用指南](./MCP_SSE_USAGE.md) - SSE传输模式的详细说明\n\n# 支持平台\n## 图集\n| 平台  | 状态 | \n|-----|----|\n| 抖音  | ✔  |\n| 快手  | ✔  | \n| 小红书 | ✔  | \n| 皮皮虾 | ✔  | \n| 微博   | ✔  |\n\n## 图集 LivePhoto\n| 平台  | 状态 |\n|-----|----|\n| 小红书 | ✔  |\n\n## 视频\n| 平台       | 状态 |\n|----------|----|\n| 小红书      | ✔  |\n| 皮皮虾      | ✔  |\n| 抖音短视频    | ✔  |\n| 火山短视频    | ✔  |\n| 皮皮搞笑     | ✔  |\n| 快手短视频    | ✔  |\n| 微视短视频    | ✔  |\n| 西瓜视频     | ✔  |\n| 最右       | ✔  |\n| 梨视频      | ✔  |\n| 度小视(原全民) | ✔  |\n| 逗拍       | ✔  |\n| 微博       | ✔  |\n| 绿洲       | ✔  |\n| 全民K歌     | ✔  |\n| 6间房      | ✔  |\n| 美拍       | ✔  |\n| 新片场      | ✔  |\n| 好看视频     | ✔  |\n| 虎牙       | ✔  |\n| AcFun    | ✔  |\n| 哔哩哔哩     | ✔  |\n\n# 安装\n```go\n// 根据分享链接解析\nres, _ := parser.ParseVideoShareUrl(\"分享链接\")\nfmt.Printf(\"%#v\", res)\n\n// 根据视频id解析\nres2, _ := parser.ParseVideoId(parser.SourceDouYin, \"视频id\")\nfmt.Printf(\"%#v\", res2)\n```\n\n# 本地运行\n```bash\ngo run main.go\n```\n\n开启basic auth认证, 设置 PARSE_VIDEO_USERNAME， PARSE_VIDEO_PASSWORD 环境变量，不设置不开启，默认不开启\n```bash\nexport PARSE_VIDEO_USERNAME=basic_auth_username\nexport PARSE_VIDEO_PASSWORD=basic_auth_password\ngo run main.go\n```\n\n\n# Docker\n获取 docker image\n```bash\ndocker pull wujunwei928/parse-video\n```\n\n运行 docker 容器, 端口 8080\n```bash\ndocker run -d -p 8080:8080 wujunwei928/parse-video\n```\n\n运行docker容器，开启basic auth认证\n```bash\ndocker run -d -p 8080:8080 -e PARSE_VIDEO_USERNAME=basic_auth_username -e PARSE_VIDEO_PASSWORD=basic_auth_password wujunwei928/parse-video\n ```\n\n查看前端页面  \n访问: http://127.0.0.1:8080/  \n\n请求接口, 查看json返回\n```bash\ncurl 'http://127.0.0.1:8080/video/share/url/parse?url=视频分享链接' | jq\n```\n返回格式\n```json\n{\n  \"author\": {\n    \"uid\": \"uid\",\n    \"name\": \"name\",\n    \"avatar\": \"https://xxx\"\n  },\n  \"title\": \"记录美好生活#峡谷天花板\",\n  \"video_url\": \"https://xxx\",\n  \"music_url\": \"https://yyy\",\n  \"cover_url\": \"https://zzz\",\n  \"images\": [],\n  \"image_live_photos\": []\n}\n```\n| 字段名                           | 说明                  | \n|-------------------------------|---------------------| \n| author.uid                    | 视频作者id              |\n| author.name                   | 视频作者名称              |\n| author.avatar                 | 视频作者头像              |\n| title                         | 视频标题                |\n| video_url                     | 视频无水印链接             |\n| music_url                     | 视频音乐链接              |\n| cover_url                     | 视频封面                |\n| images.[index].url            | 图集图片地址              |\n| images.[index].live_photo_url | 图集图片 livePhoto 视频地址 |\n\u003e 字段除了视频地址, 其他字段可能为空\n\n# 依赖模块\n| 模块                                                                       | 作用               |\n|--------------------------------------------------------------------------|------------------|\n| [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin)             | web框架            |\n| [github.com/go-resty/resty/v2](https://github.com/go-resty/resty/v2)     | HTTP 和 REST 客户端  |\n| [github.com/tidwall/gjson](https://github.com/tidwall/gjson)             | 使用一行代码获取JSON的值   |\n| [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery) | 类jQuery语法解析html页面 |\n| [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go)       | MCP (Model Context Protocol) 实现 |\n\n```bash\ngo get github.com/gin-gonic/gin\ngo get github.com/go-resty/resty/v2\ngo get github.com/tidwall/gjson\ngo get github.com/PuerkitoBio/goquery\ngo get github.com/mark3labs/mcp-go\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwujunwei928%2Fparse-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwujunwei928%2Fparse-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwujunwei928%2Fparse-video/lists"}